Simple password generator
Project description
pw-generator
Generate relatively secure passwords within python scripts.
The idea of the password generator, that produses relatively secure passwords, consisting from some english words and delimiters, and the wordlist itself were taken from passwdqc library.
Code example
from pwgen import passphrase_gen, password_gen
from pwgen.exception import WeakPasswordException
password = passphrase_gen(5)
print(password)
password = password_gen(10)
print(password)
password = passphrase_gen(2)
""" Should get a WeakPasswordException """
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
Homepage of passwdqc library: http://openwall.com/passwdqc/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pw-generator-0.1.0.tar.gz
(14.4 kB
view hashes)
Built Distribution
Close
Hashes for pw_generator-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d8ccc6289a0271e17188a3d80fe10cd594bb907b74eaa45abcd02b5b30e0b1f |
|
MD5 | a116be4722289b0ffa27fe5ecc9c75b0 |
|
BLAKE2b-256 | 65be8bb086d5ee14600f5ef50ccfb805dc538d65f283f814e62cd1142f17f4c4 |