Password generator written in Python using the cryptographically secure secrets library.
This password generator uses Python's secrets module, which is specifically designed for generating cryptographically strong random numbers suitable for managing data such as passwords, account authentication, security tokens, and related secrets. Passwords generated are truly random and non-reproducible.
python3 password.pyRun the pre-built standalone app (no Python required):
./dist/password-gen- Install dependencies:
pip3 install -r requirements.txt- Build the executable:
python3 build.pyThe standalone executable will be created at dist/password-gen and can be run on any macOS system without Python installed.
Length of password can be changed on line 10 of password.py with pwd_length.