A beginner-friendly Python tool that checks password strength in real-time and keeps you looped in until you're truly secure.
-
Evaluates password strength based on:
- Minimum length of 8 characters
- Presence of lowercase letters
- Presence of uppercase letters
- Presence of numbers
- Presence of special characters (e.g., !, @, #, etc.)
-
Feedback includes:
- Color-coded messages using ANSI escape codes:
- 🟥 Red → Weak
- 🟩 Green → Strong
- Immediate tips to improve the password
- Loop continues until a strong password is entered
- Color-coded messages using ANSI escape codes:
- Clone this repository:
git clone https://github.com/pys07/PRODIGY_CS_03.git
cd PRODIGY_CS_03- Run the script:
python password_checker.pyBest viewed in terminals supporting ANSI colors: VS Code Terminal, Bash, CMD, or PowerShell.
Enter a password to test: mycat
🟥 Weak password:
- Password is too short.
- Include at least one uppercase letter.
- Include at least one number.
- Include at least one special character.
Enter a password to test: MidnightSky12!
🟩 Strong password!
.
├── password_checker.py
└── README.md
This tool is for educational use only. It doesn’t save or transmit any data. Ideal for beginners learning about password validation, logic building, and user interaction design.
Made with ♥ by Payal Samant