A cross-platform desktop application for generating secure passwords with a modern, user-friendly interface. Built with Python and Tkinter.
- 🔐 Generate secure passwords with customizable options
- ✨ Modern, user-friendly interface
- 📋 One-click copy to clipboard
- 🎯 Password strength indicator
- 💪 Customizable password criteria:
- Lowercase letters (a-z)
- Uppercase letters (A-Z)
- Numbers (0-9)
- Special characters (!@#$%^&*)
- 📏 Adjustable password length (4-50 characters)
- 💻 Cross-platform support (Windows, macOS, Linux)
Download the latest release for your operating system from the Releases page:
- Windows:
PasswordGenerator.exe
- macOS:
PasswordGenerator.app
- Linux:
PasswordGenerator
- Clone the repository:
git clone https://github.com/AdnanRahmanpoor/password_gen_py.git
cd password_gen_py
- Create a virtual environment (recommended):
# Windows
python -m venv venv
.\venv\Scripts\activate
# macOS/Linux
python3 -m venv venv
source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Run the application:
python password_gen.py
# Run the build script
.\build.bat
# Find the executable in dist/PasswordGenerator.exe
# Make the build script executable
chmod +x build.sh
# Run the build script
./build.sh
# Find the application in dist/PasswordGenerator.app
# Make the build script executable
chmod +x build.sh
# Run the build script
./build.sh
# Find the executable in dist/PasswordGenerator
- Launch the application
- Select desired password criteria:
- Choose character types (lowercase, uppercase, numbers, symbols)
- Adjust password length using the slider
- Click "Generate Password"
- Click "Copy to Clipboard" to copy the generated password
- Check the password strength indicator for security assessment
password_gen_py/
├── password_gen.py # Main application file
├── build_config.py # Build configuration
├── build.py # Build script
├── build.bat # Windows build script
├── build.sh # Unix build script
├── requirements.txt # Python dependencies
├── icons/ # Application icons
│ ├── password.ico # Windows icon
│ ├── password.icns # macOS icon
│ └── password.png # Linux icon
├── screenshots/ # Application screenshots
└── README.md # This file
- Python 3.7 or higher
- tkinter (usually comes with Python)
- pyperclip
- PyInstaller (for building executables)
- Fork the repository
- Create a new branch:
git checkout -b feature-name
- Make your changes and commit them:
git commit -m 'Add feature'
- Push to the branch:
git push origin feature-name
- Submit a pull request
This password generator uses Python's random
module with the operating system's source of randomness. While suitable for most purposes, if you need cryptographic randomness, consider modifying the code to use secrets
module instead.
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Python and Tkinter
- Packaged with PyInstaller
Adnan Rahmanpoor - @AdnanRpX
Project Link: https://github.com/AdnanRahmanpoor/password_gen_py.git
If you find this project helpful, please give it a ⭐️!
Found a bug? Have a feature request? Open an issue