https://github.com/lukes-05/generate-password
Generate a cryptographically secure password in Python.
https://github.com/lukes-05/generate-password
password password-generator python python3 security
Last synced: about 1 month ago
JSON representation
Generate a cryptographically secure password in Python.
- Host: GitHub
- URL: https://github.com/lukes-05/generate-password
- Owner: LukeS-05
- License: mit
- Created: 2026-05-05T16:00:03.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-23T11:40:37.000Z (about 2 months ago)
- Last Synced: 2026-05-23T13:27:26.273Z (about 2 months ago)
- Topics: password, password-generator, python, python3, security
- Language: Python
- Homepage:
- Size: 39.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 🔐 Password Generator
An open-source password generator written in Python.
## Features
- 🔑 Generate cryptographically secure passwords (the program uses the `secrets` module).
- ⚙️ You're in control of how your password is generated.
- 🧠 Ensures that at least one character from each selected category is included.
- 🖋️ Get a strength review of the generated password.
- 💻 Quickly use the password generation logic in another program with the API.
**Just like all my other projects...**
🖥️ Open source and easy to inspect.
🚫 No internet access required
🔒 No data is collected or stored
## Getting started
The program is simple to set up and only takes a few steps to run.
1. Download [Python](https://www.python.org/downloads/)\* if you haven't already.
2. Go to [Releases](https://github.com/LukeS-05/generate-password/releases) and find the latest release.
3. Scroll down to Assets and download `Source code (zip)`.
4. Extract the zip folder and run `main.py`:
- Double-click it, OR
- Open a terminal in the folder and run:
`python main.py`
\* Python 3.7 is required.
## Preview
```
(*) Password Generator v0.4.0
TIP: If the generated password isn't strong enough, simply type 's' or 'settings' to change your options!
------------------------------------------------------------------------------------------
Password - AkQ{axuy93
- Review: Average password strength :|
- Options: keep | regenerate | settings | help | quit: s
------------------------------------------------------------------------------------------
Characters
Choose at least one group of characters.
- Uppercase letters (yes / no): y
- Lowercase letters (yes / no): y
- Numbers (yes / no): y
- Symbols (yes / no): y
Other settings
- Length of password: 14
------------------------------------------------------------------------------------------
Password - r?`](B(U)7lfo}
- Review: This is a strong password :)
- Options: keep | regenerate | settings | help | quit: keep
------------------------------------------------------------------------------------------
Your final password: r?`](B(U)7lfo}
Don't forget to copy your password and store it securely.
Press ENTER to exit.
```
## License
The code is licensed under the MIT license. You can find a copy of this available [here](https://github.com/LukeS-05/generate-password/blob/main/LICENSE).