Skip to content

ESHRATH907/Password-Strength-Checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” Password Strength Checker

A beginner-friendly Python mini-project that checks the strength of a password based on common security rules.


πŸ“Œ Features

  • βœ… Checks password length
  • βœ… Detects uppercase letters
  • βœ… Detects lowercase letters
  • βœ… Detects digits
  • βœ… Detects special characters
  • βœ… Warns if spaces are used
  • βœ… Suggests improvements
  • βœ… Displays a password summary

πŸ› οΈ Technologies Used

  • Python 3

πŸ“š Concepts Practiced

  • Variables
  • Strings
  • User Input (input())
  • for loops
  • if-elif-else statements
  • String membership (in)
  • Counters
  • Boolean logic
  • f-strings

πŸ“– Password Strength Rules

🟒 Strong Password

A password is considered Strong if it:

  • Has at least 8 characters
  • Contains uppercase letters
  • Contains lowercase letters
  • Contains digits
  • Contains special characters
  • Does not contain spaces

🟑 Moderate Password

A password is considered Moderate if:

  • It is at least 6 characters long
  • But does not satisfy all Strong Password requirements

πŸ”΄ Weak Password

A password is considered Weak if:

  • It contains fewer than 6 characters

πŸ“· Screenshots

Strong Password

Strong Password


Moderate Password

Moderate Password


Weak Password

Weak Password


Space Validation

Space Validation


▢️ How to Run

  1. Clone this repository
git clone https://github.com/ESHRATH907/Password-Strength-Checker.git
  1. Navigate to the project folder
cd Password-Strength-Checker
  1. Run the program
python password_checker.py

πŸ“‚ Project Structure

Password-Strength-Checker/
β”‚
β”œβ”€β”€ password_checker.py
β”œβ”€β”€ README.md
β”œβ”€β”€ LICENSE
β”œβ”€β”€ .gitignore
└── screenshots/
    β”œβ”€β”€ strong-password.png
    β”œβ”€β”€ moderate-password.png
    β”œβ”€β”€ weak-password.png
    └── space-validation.png

πŸ’‘ Example Output

===================================
Password Strength Checker
===================================
-----------------------------------
Create Password : Hello@123
-----------------------------------
Strength of Your Password :

Strong Password
-----------------------------------

Password Summary
----------------
Digits             : 3
Lowercase Letters  : 4
Uppercase Letters  : 1
Special Characters : 1
Length             : 9

===================================
Thank you for using Password Strength Checker!
===================================

πŸ‘©β€πŸ’» Author

Eshrath Jahan

Built as a beginner Python mini-project to practice loops, conditionals, string manipulation, and basic password validation.


πŸ“„ License

This project is licensed under the MIT License.

About

πŸ” Beginner-friendly Python password strength checker that validates passwords and provides suggestions for creating stronger, more secure passwords.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages