A simple but solid password generator built in Python.
Supports multiple account profiles, a GUI window, and a CLI mode.
- Profiles for common account types: email, banking, gaming, social, wifi
- Adjustable length and character options
- Strength rating system
- GUI window (tkinter — no install needed)
- CLI mode for terminal usage
- Copy to clipboard button
password_generator/
├── password_generator/
│ ├── __init__.py
│ ├── core.py # password logic
│ ├── cli.py # terminal interface
│ └── gui.py # window interface
├── tests/
│ └── test_core.py
├── main.py
├── requirements.txt
└── README.md
python main.pypython main.py --cli --profile banking --count 3 --rate| Flag | Description |
|---|---|
--profile / -p |
Account type (email, banking, gaming, social, wifi, custom) |
--length / -l |
Override default length |
--count / -c |
Number of passwords to generate |
--no-symbols |
Disable special characters |
--no-numbers |
Disable numbers |
--no-upper |
Disable uppercase |
--rate |
Show strength rating |
pip install pytest
pytest tests/- Python 3.8+
- tkinter (comes built-in with Python on Windows)
- pytest (for tests only)