A simple and customizable password generator built with Python and a modern graphical interface using ttkbootstrap. Users can define the password length and choose which character types to include (uppercase, digits, symbols).
- Choose password length (1 to 30 characters)
- Select character sets:
- ✅ Uppercase letters (A–Z)
- ✅ Digits (0–9)
- ✅ Symbols (!@#$...)
- Clean and responsive GUI with ttkbootstrap
- Copy password to clipboard with one click
- Icon-enhanced buttons for better UX
- Python 3.x
- Tkinter
- ttkbootstrap
-
Clone the repository:
git clone https://github.com/thiagoheinzen/password-generator.git cd password-generator
-
Create a virtual environment (optional but recommended):
python -m venv .venv source .venv/bin/activate # For Linux/macOS .venv\Scripts\activate # For Windows
-
Install dependencies:
pip install -r requirements.txt
To generate a standalone executable (.exe), also install:
```bash
pip install -r requirements-dev.txt
```
-
Run the app:
python main.py
To create a .exe
version:
pyinstaller --noconsole --onefile --icon=app.ico main.py
The executable will be in the dist/
folder.
```
password-generator/
├── main.py
├── icone.ico
├── requirements.txt
├── requirements-dev.txt
├── README.md
└── .venv/ (optional)
```
- Add password strength indicator
- Allow user to exclude similar characters (e.g., 1/l, 0/O)
- Add dark mode toggle
This project is open source and available under the MIT License.