This is a simple password checker based on zxcvbn. It's simple, short program that you can use to easily check your passwords on a local machine, rather than using a website that promises it's definitely not storing your passwords.
The only main prerequisite is zxcvbn, which can be installed by either:
python3 -m pip install zxcvbn
or pip3 install zxcvbn
Then you simply need to execute the program. The program will ask you for a password, which you type into the terminal. It will keep looping, over and over, until you enter exit, quit, or stop as the password.
Then, it will return a formatted list of attributes about said password. For example, the password 1234 I am a Gist
gives the following:
Password:1234 I am a Gist
{'calc_time': datetime.timedelta(microseconds=4421),
'crack_times_display': {'offline_fast_hashing_1e10_per_second': '3 hours',
'offline_slow_hashing_1e4_per_second': 'centuries',
'online_no_throttling_10_per_second': 'centuries',
'online_throttling_100_per_hour': 'centuries'},
'crack_times_seconds': {'offline_fast_hashing_1e10_per_second': Decimal('10000.000001'),
'offline_slow_hashing_1e4_per_second': Decimal('10000000001'),
'online_no_throttling_10_per_second': Decimal('10000000001000'),
'online_throttling_100_per_hour': Decimal('3600000000360000.199840144453')},
'feedback': {'suggestions': [], 'warning': ''},
'guesses': Decimal('100000000010000'),
'guesses_log10': 14.00000000004343,
'password': '1234 I am a Gist',
'score': 4,
'sequence': [{'base_guesses': 7,
'dictionary_name': 'passwords',
'guesses': 50,
'guesses_log10': 1.6989700043360185,
'i': 0,
'j': 3,
'l33t': False,
'l33t_variations': 1,
'matched_word': '1234',
'pattern': 'dictionary',
'rank': 7,
'reversed': False,
'token': '1234',
'uppercase_variations': 1},
{'guesses': 1000000000000,
'guesses_log10': 11.999999999999998,
'i': 4,
'j': 15,
'pattern': 'bruteforce',
'token': ' I am a Gist'}]}