This script will calculate the strength of your password according to the following criteria:
- length (more than 12 characters is considered long enough)
- the use of both letters and digits
- the use of both upper-case and lower-case letters (case sensitivity)
- inclusion of special characters, such as @, #, $
Python3 should be already installed.
Then use pip
(or pip3
, if there is a conflict with Python2) to install dependencies:
pip install -r requirements.txt
$ python main.py
Enter your password: ******
Passwords strength is 6 out of 14
< Exit
Press DOWN
then SPACE
or ENTER
to exit.
The code is written for educational purposes on online-course for web-developers dvmn.org.