PasswordGenerator
Password Generator
based on Perfect Paper Passwords
High security multifactor authentication password generator.
standard passcode set
This is the standard and conservative PPP set of 64 characters. It was chosen to remove characters that might be confused with one another. Using 4-characters per passcode, 16,777,216 passcodes are possible for very good one time password security
passcode_set = '!#%+23456789=?@ABCDEFGHJKLMNPRSTUVWXYZabcdefghijkmnopqrstuvwxyz'
example:
use standard set to create password length = 10, with 3 uppercases, 3 digits and 1 symbol
from pyPasswordGenerator import password as ps
# standard set
set = 's'
ps.generator(length = 10, upper = 3, digits =3, symbol = 0, set =set )
>>>'5v5njx9BAN'
visually aggressive passcode set
This is a much more "visually aggressive" (somewhat more interesting and certainly much stronger) 88-character alphabet which supports the generation of 59,969,536 possible 4-character passcodes:
passcode_set = '''!"#$%&'()*+,-./23456789:;<=>?@ABCDEFGHJKLMNOPRSTUVWXYZ[]^_abcdefghijkmnopqrstuvwxyz{|}~'''
example
use standard set to create password length = 8, with 2 uppercases, 2 digits and 2 symbol
from pyPasswordGenerator import password as ps
# visually aggressive set
set = 'v'
ps.generator(length = 8, upper = 2, digits =2, symbol = 2, set =set )
>>>'sX65%A^g'
use won set to limit symbol with only !#@
use your set create password length = 12, with 4 uppercases, 2 digits and 2 symbols
from pyPasswordGenerator import password as ps
# my own password set
set = '!#23456789@ABCDEFGHJKLMNPRSTUVWXYZabcdefghijkmnopqrstuvwxyz'
ps.generator(length = 11, upper = 4, digits =2, symbol = 2, set =set )
>>>'@F8Wa#jRn6S'
Definition
| Parameter | Default | Description |
|---|---|---|
| length | 8 | Length of Password, if length = 10 then xdat3a9$dg |
| upper | 2 | How many upper case charactors, if upper =4 GdAT3a9$Dg |
| digits | 2 | How many digits, if digits = 1 GdAT3ad$Dg |
| symbol | 0 | How many symbol if symbol=4 G#A!3a9$D! |
| passcode_set | s | v |
installation
pip install pyPasswordGenerator
Metadata
Release files for pyPasswordGenerator 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyPasswordGenerator-1.0.2.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyPasswordGenerator-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / pyPasswordGenerator-1.0.2.tar.gz
| Download URL | pyPasswordGenerator-1.0.2.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58303930a59306fb3f06cd710fb373ad73b6429781b7b48bffd11425aa5bbc43
|
|
BLAKE2b-256 checksum How to use checksums |
8c3f1deab6679b40441e34237fbbd12997fff30d3ed89de45cbe97b4523f21bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.6rc1
|
Release files / pyPasswordGenerator-1.0.2-py3-none-any.whl
| Download URL | pyPasswordGenerator-1.0.2-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2871c4a8ee7b119d42dbb11013b32c63551d7df5ab605c5a02fc58f1dc9f5a5c
|
|
BLAKE2b-256 checksum How to use checksums |
9833ea88425f266d5c6e34d4091ea4c9a648dc2f07d005cb4fe62d9e94ac0073
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.6rc1
|