An open API service indexing awesome lists of open source software.

https://github.com/tjaart-code/generate-passwords

a script for generating passwords using upper-case, lower-case letters, numbers and special characters
https://github.com/tjaart-code/generate-passwords

generate-password python3

Last synced: about 1 year ago
JSON representation

a script for generating passwords using upper-case, lower-case letters, numbers and special characters

Awesome Lists containing this project

README

          

## Password Generator Scrypt

a script for generating passwords using upper-case letters, lower-case letters, numbers and special characters.

### Features:
1. **Manual Save Option**: After generating the password, the user is prompted with a yes/no option to decide if they want to save the password to a file.
2. **Custom File Path**: If the user chooses to save, they can enter a custom file path. If no path is entered, it defaults to password.txt.
3. **No Automatic Save**: The password is only saved if the user chooses to do so.
4. **Error Handling**: There's basic error handling for file saving, printing a message if there's an issue with saving.

### Usage Example:
1. Run the script, and it will generate the password and display it.
2. To run use: python3 genPassword.py
3. You'll be asked if you want to save it. If you type "yes," you'll be prompted for a file path. If you type "no," the password won't be saved.
4. You can specify the desired password length as well.
5. password_length = 16 # You can set this to any length