This module offers random password generator
Project description
Password generator
This module offers random password generation.
Install
pip install rand-pass-generator
Quick start
First of all, initialize:
from rand_pass_generator import generate, check
# to generate numeric password
password = generate().number()
# Output : {'password': '003462', 'level': 0, 'strength': 'terrible', 'message': 'password is too short'}
# to generate letter password
password = generate().letter()
# Output : {'password': 'kapebq', 'level': 0, 'strength': 'terrible', 'message': 'password is too short'}
# to generate numberic and letter password
password = generate().numberLetter()
# Output : {'password': 'q9hlWS11', 'level': 3, 'strength': 'strong', 'message': 'password is perfect'}
# to generate random password
password = generate().random()
# Output : {'password': 'm6P)^yz9b"966D9G4uTd.!8Ni7xU1o19', 'level': 4, 'strength': 'very strong', 'message': 'password is very perfect'}
# to check the strength of your password
check = check("Password")
# Output : {'valid': False, 'level': 2, 'strength': 'medium', 'message': 'password is good enough, but not strong'}
Dev Dependencies
Contributing
Questions, comments, bug reports, and pull requests are all welcome.
License
This software is licensed under the MIT 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
File details
Details for the file rand_pass_generator-1.0.26.tar.gz.
File metadata
- Download URL: rand_pass_generator-1.0.26.tar.gz
- Upload date:
- Size: 59.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1340b3e3602f533ae85b8cd77ff2aaa39f2b18b7454eee4bc574a47669fc8c77
|
|
| MD5 |
7748c0995e1e5accc2a883e11e2a60e3
|
|
| BLAKE2b-256 |
83f4934c2fc8c5308ff546a3a2aceab2e078e10133a41e90e0cd0388cd0c71f9
|