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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pw-generator-0.1.0.tar.gz.
File metadata
- Download URL: pw-generator-0.1.0.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.5.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6caf8014a396f8908eef0bcd41388060dbc6b5bb5322e51d01c1432d6669e0c1
|
|
| MD5 |
b4a438949dce15ab1c025a0104a114e3
|
|
| BLAKE2b-256 |
2935ec61dba68b2da867a764902825b167532242dc6a78ba7e8bf41f506bd1f1
|
File details
Details for the file pw_generator-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pw_generator-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.5.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d8ccc6289a0271e17188a3d80fe10cd594bb907b74eaa45abcd02b5b30e0b1f
|
|
| MD5 |
a116be4722289b0ffa27fe5ecc9c75b0
|
|
| BLAKE2b-256 |
65be8bb086d5ee14600f5ef50ccfb805dc538d65f283f814e62cd1142f17f4c4
|