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.
- 🧠 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
- Python 3
rich(for colorful CLI output)requests(for HIBP breach API)- Regex & logic-based password scoring
- Optional: HIBP Pwned Passwords API
You can install PassGuardian globally using pip:
pip install passguardianThen launch it from your terminal:
passguardiangit clone https://github.com/nv2105/PassGuardian.git
cd PassGuardianpython -m venv .venv
source .venv/Scripts/activate # On Windows
# Or: source .venv/bin/activate # On Mac/Linuxpip install -r requirements.txtpython main.py🧠 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'PassGuardian/
├── passguardian/
│ ├── evaluator.py
│ ├── breaches.py
│ ├── entropy.py
│ ├── generator.py
│ └── __init__.py
├── main.py
├── requirements.txt
├── .gitignore
└── README.md