A simple password generator that allows users to customize password length, include numbers, and special characters.
A simple password generator that allows users to customize password length, include numbers, and special characters.
git clone https://github.com/nagakirankasi/Password-Generator.git
cd Password-Generator
pip install -r requirements.txt
Example requirements.txt (if using Streamlit):
streamlit
To generate a password with the default settings:
python password_generator.py
To customize password length and character options:
from password_generator import generate_password
print(generate_password(length=16, use_digits=True, use_special_chars=True))
To launch the web UI:
streamlit run app.py
Use the sliders and checkboxes to customize the password before generating.
The password generator now includes password strength evaluation, which rates passwords as:
Example usage:
from password_generator import evaluate_password_strength
print(evaluate_password_strength("P@ssw0rd123!")) # Output: Strong
To ensure the password generator works correctly, run:
python -m unittest discover tests

This project is licensed under the MIT License.
Feel free to fork this repository and submit pull requests to improve the project!
Made with โค๏ธ to keep your passwords safe & secure! ๐