A command-line utility for generating secure random passwords.
- Generate strong random passwords with a single command
- Customise passwords with optional arguments (uppercase, lowercase, numbers, special characters)
- Generate multiple passwords at once
- Password strength evaluation
- Copy generated passwords to clipboard automatically
- Save generated passwords to a file
- Fun animated password reveals
- Interactive guided mode
- Make sure you have Python 3.6 or higher installed
- Clone this repository or download the source code
- Install the required dependencies:
pip install -r requirements.txt
Simply run without any arguments to generate a secure password:
python genr8.py
This will generate a 16-character password with all character types and copy it to your clipboard.
Argument | Description |
---|---|
-l, --length LENGTH |
Password length (default: 16, minimum: 12) |
-n, --number NUMBER |
Number of passwords to generate (default: 1) |
--no-uppercase |
Exclude uppercase letters |
--no-lowercase |
Exclude lowercase letters |
--no-numbers |
Exclude numbers |
--no-special |
Exclude special characters |
--no-clipboard |
Do not copy password to clipboard |
-e, --evaluate |
Show password strength evaluation |
-s, --save FILENAME |
Save generated passwords to file |
-a, --animate |
Show animated password reveal |
-m, --matrix |
Show password with Matrix-style animation effect |
-t, --template PATTERN |
Use pattern template (U=uppercase, L=lowercase, D=digit, S=special, X=any) |
-i, --interactive |
Run in interactive mode |
-h, --help |
Show help message |
Generate a 20-character password:
python genr8.py -l 20
Generate a password without special characters (for websites that don't allow them):
python genr8.py --no-special
Generate 5 passwords:
python genr8.py -n 5
Generate a password with animated reveal:
python genr8.py -a
Generate a password with Matrix-style effect:
python genr8.py -m
Generate a password and evaluate its strength:
python genr8.py -e
Generate 3 passwords and save them to a file:
python genr8.py -n 3 -s passwords.txt
Create a password with a specific pattern:
python genr8.py -t "UUULLLDDSXXXX"
Run in interactive guided mode:
python genr8.py -i
- Passwords are generated using Python's random module with strong methods
- Generated passwords are designed to meet modern security requirements
- For maximum security, it's recommended to use passwords of at least 16 characters with all character types enabled