Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.