A powerful but simple to use strong password generation library
Project description
Random password Generator
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
Built Distribution
Close
Hashes for easy-password-generator-0.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47297fb3342c531285b563273b93e0d50577ad27d8547a9e86d152ba2a9f94b1 |
|
MD5 | b9c4fac9ba55c5693b4445d7758a4af6 |
|
BLAKE2b-256 | bb8d7491656a4e3bac9c5309736e0053009968ae3ebb8ae0843f882505f2c443 |
Close
Hashes for easy_password_generator-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3408191a7ae57509bbfb60787df08a2dfde95fd7c535491d745caed158206b9b |
|
MD5 | 69ada555286b88cce9f3c102c930340c |
|
BLAKE2b-256 | 4ecfb907702eba29a6f97a151f5010a4a22a6f2c58f4a4203f299053b5434b76 |