Created
June 20, 2020 13:17
-
-
Save Allwin12/4f6b218d7e79c0341b5f4dadd3c9701f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from password_strength import PasswordPolicy | |
policy = PasswordPolicy.from_names( | |
strength=0.66 # need a password that scores at least 0.5 with its strength | |
) | |
print(policy.test('V3ryG00dPassw0rd?!')) | |
# -> [] -- empty list means a good password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment