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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file easy-password-generator-0.0.7.tar.gz.
File metadata
- Download URL: easy-password-generator-0.0.7.tar.gz
- Upload date:
- Size: 2.9 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47297fb3342c531285b563273b93e0d50577ad27d8547a9e86d152ba2a9f94b1
|
|
| MD5 |
b9c4fac9ba55c5693b4445d7758a4af6
|
|
| BLAKE2b-256 |
bb8d7491656a4e3bac9c5309736e0053009968ae3ebb8ae0843f882505f2c443
|
File details
Details for the file easy_password_generator-0.0.7-py3-none-any.whl.
File metadata
- Download URL: easy_password_generator-0.0.7-py3-none-any.whl
- Upload date:
- Size: 5.7 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3408191a7ae57509bbfb60787df08a2dfde95fd7c535491d745caed158206b9b
|
|
| MD5 |
69ada555286b88cce9f3c102c930340c
|
|
| BLAKE2b-256 |
4ecfb907702eba29a6f97a151f5010a4a22a6f2c58f4a4203f299053b5434b76
|