Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Password Generator Dashboard

An interactive web app built with Python and Streamlit that generates passwords in three styles: random, memorable (word-based), and numeric PIN.

Project Structure

.
├── README.md
├── requirements.txt
└── src
    ├── password_generator.py
    ├── dashboard.py
    └── images/
  • src/password_generator.py: the password generator classes PinGeneratorPassword, RandomPasswordGenerator, and MemorablePasswordGenerator
  • src/dashboard.py: the Streamlit web interface
  • src/images/: images used by the dashboard
  • requirements.txt: project dependencies

Password Types

Generator Description
PinGeneratorPassword Numeric PIN of a chosen length
RandomPasswordGenerator Random letters, with optional numbers and symbols
MemorablePasswordGenerator Several dictionary words joined by a separator, with optional random capitalization

Example:

from src.password_generator import RandomPasswordGenerator

generator = RandomPasswordGenerator(
    length=12,
    include_numbers=True,
    include_symbols=True
)

print(generator.generator())

Installation

git clone https://github.com/mahnazghssm/Password-Generator.git
cd Password-Generator
pip install -r requirements.txt

The NLTK words corpus is downloaded automatically the first time you run the project.

Usage

Run the dashboard:

streamlit run src/dashboard.py

This opens the app in your browser on localhost.

To try the generators in the terminal:

python src/password_generator.py

License

This project is licensed under the MIT License.

About

A Streamlit dashboard for generating random, memorable, and PIN passwords with Python.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages