Secure Password Generator

A simple password generator that allows users to customize password length, include numbers, and special characters.

View the Project on GitHub nagakirankasi/password-generator

๐Ÿ”‘ Secure Password Generator

A simple password generator that allows users to customize password length, include numbers, and special characters.

๐Ÿš€ Features


๐Ÿ“ฆ Installation

1๏ธโƒฃ Clone the Repository

git clone https://github.com/nagakirankasi/Password-Generator.git
cd Password-Generator

2๏ธโƒฃ Install Dependencies (Optional for UI Version)

pip install -r requirements.txt

Example requirements.txt (if using Streamlit):

streamlit

๐Ÿ”ง Usage

1๏ธโƒฃ Run in CLI Mode

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))

2๏ธโƒฃ Run with Streamlit UI (Optional)

To launch the web UI:

streamlit run app.py

Use the sliders and checkboxes to customize the password before generating.


๐Ÿ” Password Strength Evaluation

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

๐Ÿงช Running Tests

To ensure the password generator works correctly, run:

python -m unittest discover tests

๐Ÿงช Demo

password-generator-demo


๐Ÿ“œ License

This project is licensed under the MIT License.


๐Ÿ“ข Contributing

Feel free to fork this repository and submit pull requests to improve the project!

๐Ÿ”ฅ Future Enhancements


Made with โค๏ธ to keep your passwords safe & secure! ๐Ÿ”