Skip to main content

A smart password strength evaluator and generator with entropy scoring and breach check.

Project description

๐Ÿ” PassGuardian: Smart Password Evaluator

PassGuardian is a smart, terminal-based password strength evaluator that helps you create and test strong, secure passwords in real time. It combines entropy analysis, breach detection, actionable feedback, and an optional password generator โ€” all with a colorful, polished CLI experience.


PassGuardian Demo

๐Ÿš€ Features

  • ๐Ÿง  Entropy-based Strength Scoring
  • ๐Ÿ”ฅ Real-time Breach Check via HaveIBeenPwned API
  • ๐Ÿ’ก Smart Feedback with improvement tips
  • ๐Ÿ” Interactive Password Generator
  • ๐ŸŽจ Colorful CLI UI powered by rich
  • ๐Ÿ” Built with Security Best Practices

๐Ÿ›  Tech Stack

  • Python 3
  • rich (for colorful CLI output)
  • requests (for HIBP breach API)
  • Regex & logic-based password scoring
  • Optional: HIBP Pwned Passwords API

โš™๏ธ How to Run

1. Clone the Repository

git clone https://github.com/nv2105/PassGuardian.git
cd PassGuardian

2. Set Up Virtual Environment

python -m venv .venv
source .venv/Scripts/activate  # On Windows
# Or: source .venv/bin/activate  # On Mac/Linux

3. Install Dependencies

pip install -r requirements.txt

4. Run the CLI App

python main.py

๐Ÿ“ธ Sample Output

๐Ÿง  Estimated Entropy: 83.36 bits
โœ… No known breaches found for this password.

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Result โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ ๐Ÿ”’ Password Strength: Strong!  โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

๐Ÿ’ก Tips to Improve:
- Add at least one special character
- Avoid common patterns like '123', 'password'

๐Ÿ“‚ Project Structure

PassGuardian/
โ”œโ”€โ”€ passguardian/
โ”‚   โ”œโ”€โ”€ evaluator.py
โ”‚   โ”œโ”€โ”€ breaches.py
โ”‚   โ”œโ”€โ”€ entropy.py
โ”‚   โ”œโ”€โ”€ generator.py
โ”‚   โ””โ”€โ”€ __init__.py
โ”œโ”€โ”€ main.py
โ”œโ”€โ”€ requirements.txt
โ”œโ”€โ”€ .gitignore
โ””โ”€โ”€ README.md

๐Ÿ“Œ Author

Naman Vora

Final Year CSE | Aspiring Data Analyst

Github | LinkedIn

๐Ÿ“„ License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

passguardian-1.0.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

passguardian-1.0.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file passguardian-1.0.0.tar.gz.

File metadata

  • Download URL: passguardian-1.0.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for passguardian-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f0a691f250ecc0794c823047121617908e15782fe89931969d85561fa6e3e3f2
MD5 35f54bb332946335a6088195ce030c59
BLAKE2b-256 61677bdcb18c9f10fdf09a4996ba6c0d0cd011ab1d418eb273d5e31ed94eff89

See more details on using hashes here.

File details

Details for the file passguardian-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: passguardian-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for passguardian-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba4dfda4c6d5afe59f67586f6292c1a8e5a4d3f59ccc07bd69ea3de6a20f8601
MD5 06fa97998e3143c3022c8f044eb52a02
BLAKE2b-256 0727e38b8b6e8dc38992e19c22d327cc5a6d2bcb43eab6e388eb37b8d63371fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page