Skip to content

ismail-Elsebaee/password-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Password Generator

A simple but solid password generator built in Python.
Supports multiple account profiles, a GUI window, and a CLI mode.


Features

  • Profiles for common account types: email, banking, gaming, social, wifi
  • Adjustable length and character options
  • Strength rating system
  • GUI window (tkinter — no install needed)
  • CLI mode for terminal usage
  • Copy to clipboard button

Project Structure

password_generator/
├── password_generator/
│   ├── __init__.py
│   ├── core.py       # password logic
│   ├── cli.py        # terminal interface
│   └── gui.py        # window interface
├── tests/
│   └── test_core.py
├── main.py
├── requirements.txt
└── README.md

How to Run

GUI (default)

python main.py

CLI

python main.py --cli --profile banking --count 3 --rate

CLI Options

Flag Description
--profile / -p Account type (email, banking, gaming, social, wifi, custom)
--length / -l Override default length
--count / -c Number of passwords to generate
--no-symbols Disable special characters
--no-numbers Disable numbers
--no-upper Disable uppercase
--rate Show strength rating

Run Tests

pip install pytest
pytest tests/

Requirements

  • Python 3.8+
  • tkinter (comes built-in with Python on Windows)
  • pytest (for tests only)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages