Skip to main content

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/

Metadata

Release files for pw-generator 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pw-generator 0.1.0
File Size Uploaded
pw-generator-0.1.0.tar.gz 14.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pw-generator 0.1.0
File Interpreter ABI Platform
pw_generator-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 30.1 kB

Release files / pw-generator-0.1.0.tar.gz

Download URL pw-generator-0.1.0.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6caf8014a396f8908eef0bcd41388060dbc6b5bb5322e51d01c1432d6669e0c1
BLAKE2b-256 checksum
How to use checksums
2935ec61dba68b2da867a764902825b167532242dc6a78ba7e8bf41f506bd1f1
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pw_generator-0.1.0-py3-none-any.whl

Download URL pw_generator-0.1.0-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d8ccc6289a0271e17188a3d80fe10cd594bb907b74eaa45abcd02b5b30e0b1f
BLAKE2b-256 checksum
How to use checksums
65be8bb086d5ee14600f5ef50ccfb805dc538d65f283f814e62cd1142f17f4c4
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page