Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pw_generator-0.1.0-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

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

Hashes for pw-generator-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6caf8014a396f8908eef0bcd41388060dbc6b5bb5322e51d01c1432d6669e0c1
MD5 b4a438949dce15ab1c025a0104a114e3
BLAKE2b-256 2935ec61dba68b2da867a764902825b167532242dc6a78ba7e8bf41f506bd1f1

See more details on using hashes here.

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

Hashes for pw_generator-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d8ccc6289a0271e17188a3d80fe10cd594bb907b74eaa45abcd02b5b30e0b1f
MD5 a116be4722289b0ffa27fe5ecc9c75b0
BLAKE2b-256 65be8bb086d5ee14600f5ef50ccfb805dc538d65f283f814e62cd1142f17f4c4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page