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 = PassGen()
  pwo.generate()

Generate a custom password

  pwo = PassGen(minlen = 10, maxlen=15)

  pwo.generate()

Generate Non Duplicate Password

  pwo = PassGen()

  # length of required password
  pwo.next(20)

Update V0.0.7

Introduces next function

Update V0.0.6

From version 0.0.6, 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.7.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

easy_password_generator-0.0.7-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

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