Skip to main content

A powerful but simple to use strong password generation library

Project description

Random password Generator

PyPI version Build Status

A strong but super simple to use library to generate passwords
  • Supports Flask, Django
  • Generate a simple password of default length 6-16.

Usage

  • Install the library.
  • Import the library.
  • Modify the default properties. (Optional)
  • Generate strong password (Default length of password 6-16 unless specified via properties).
  pip install easy-password-generator
  from easy_password_generator import PassGen

  pwo = PassGen()
  pwo.generate()

Configuration

property Description Default
minlen Minimum length of the password 6
maxlen Maximum length of the password 16
minuc Minimum upper case characters 1
minlc Minimum lower case characters 1
minnum Minimum numerical characters 1
minsc Minimum special characters 1

Examples:

  pwo = PasswordGenerator()
  pwo.generate()

Generate a custom password

  pwo = PasswordGenerator(minlen = 30, maxlen=20, min)

  pwo.generate()

Generate Non Duplicate Password

  pwo = PasswordGenerator()

  # length of required password
  pwo.next(20)

Update V1.0.0

From version 1.0.0, Initial library launch

Contributions

Contributions can be made with PR or contact sghongadi@gmail.com

License

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

easy-password-generator-0.0.5.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

easy_password_generator-0.0.5-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file easy-password-generator-0.0.5.tar.gz.

File metadata

  • Download URL: easy-password-generator-0.0.5.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for easy-password-generator-0.0.5.tar.gz
Algorithm Hash digest
SHA256 e34210a6b4fb619ce35f8904b8717a15ce8d03e706f21c3e620ecb6e43d99b2a
MD5 ca54da84d1ef1da78f51f761c4a35f03
BLAKE2b-256 453031e393e0408ac4274614671310051f3b568b8c711c1243cf2230c272cb88

See more details on using hashes here.

File details

Details for the file easy_password_generator-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: easy_password_generator-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for easy_password_generator-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 04bf99a17687a1cc41d640e168c924735ed9b589edd6f2323155962900179f33
MD5 ca35fb8994e50a52465a6b8eec064e64
BLAKE2b-256 91a4841a90a806f94fcb1364af48f7caaf52867a89eecae53966a477d1a4583a

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