Hi! I made this package to help us with password generators. If you need more details about the implementation, see the readme.txt file on this repository: https://github.com/arthur-asilva/PasswordGeneratorTools.
Project description
PasswordGeneratorTools
This package was made to help you with simple daily tasks like generating password suggestions. To use, you need to install the package from pip install password-generator-tools==0.1.0 or clone these files.
Import
Use the below code to import the package into your project after installation:
from PasswordGeneratorTools import PasswordGeneratorTools
Usage
The package generates full options password from your information length or you can do it with single choices like this:
- Alphabet characters;
- Digits;
- Special characters;
- Custom the options above;
- Full generation.
So, start with call this object like this:
password = PasswordGeneratorTools()
After, call your single methods like this:
''' this is to define your password length ''' password_length = 8
''' this is to generate your password length previously defined by you, this method just use alphabet ASCII characters ''' alphabet_password = password.Alphabet(password_length)
''' this is to generate your password length previously defined by you, this method just use digits (0 to 9) ''' digit_password = password.Digit(password_length)
''' this is to generate your password length previously defined by you, this method just use special characters like !@#$%^&*() ''' special_password = password.Special(password_length)
''' this is to generate your password length previously defined by you, this method use all options above ''' full_character_password = password.CharactersGenerator(password_length)
You can simplify use a dict with the following keys: 'alphabet', 'digits' or 'special'. Each key will have your attribute length, like this:
params = { 'alphabet': 3, 'digits': 3, 'special' 2 }
If you need, just use what you want, see below.
params = { 'alphabet': 4, 'digits': 4 }
##In this case, your password just will have alphabet and digits characters. I hope help you!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file password_generator_tools-0.2-py3-none-any.whl
.
File metadata
- Download URL: password_generator_tools-0.2-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c68229b8e5477088fac9454765a6ab15f044e14e0a4b8bb3202b351140ada597 |
|
MD5 | 87cd46791021821a763420849b0af3f3 |
|
BLAKE2b-256 | 3d172e08acef9c5a2673b142d7bf3b0bff37b6cc6559eb12ccd5542138230b7f |