Pronounceable
- Generate a random pronounceable word using Python 3 and secrets module (falls back to random module if Python < 3.6).
- Calculate password complexity based on pronounceablity. > 10.0 is probably too complex for human to remember.
Usage
>>> from pronounceable import PronounceableWord, generate_word, Pronounceablity, Complexity
>>> PronounceableWord().length(8, 15)
'terhtsadathe'
>>> generate_word()
'gloust'
>>> pr = Pronounceablity()
>>> pr.syllable('terhtsadathe')
6
>>> pr.syllable('hello')
2
>>> pr.syllable('gloust')
4
>>> complexity = Complexity()
>>> complexity.complexity('D7!rcc&umnsd')
5.401603904395188
>>> complexity.complexity('a4ILot#h')
4.71785657472491
>>> complexity.complexity('password')
1.0
>>> complexity.complexity('thisisabadpassword')
2.2220669581020354
>>> complexity.complexity('anejpwnrqpqzonijre')
4.71785657472491
Based on
- https://github.com/greghaskins/gibberish
- https://github.com/ricardofalasca/passpro-generator
- NLTK - CMUdict
More on password
- Human-readable password mnemonics -- https://github.com/patarapolw/memorable-password
- Security-side of password -- https://github.com/patarapolw/passwordstrength
- Adapting the humanized password to the computerized password policy - https://github.com/patarapolw/leetpass
Release files for pronounceable 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pronounceable-0.1.3.tar.gz | 45.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pronounceable-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 90.3 kB
Release files / pronounceable-0.1.3.tar.gz
| Download URL | pronounceable-0.1.3.tar.gz |
|---|---|
| Size | 45.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12a0cf1234ab030ab959a6c185f7510be22caf361c5cdbdbb20d78fcb09c356b
|
|
BLAKE2b-256 checksum How to use checksums |
1dde002b6976c59799c031625695a45f6b4aa82e9fccaf9e27aeea29e71a734c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pronounceable-0.1.3-py3-none-any.whl
| Download URL | pronounceable-0.1.3-py3-none-any.whl |
|---|---|
| Size | 44.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f41582795d0a3dbc62e489ed21cdb3d14d5a4dcb9ca87272c612eb82b2623ded
|
|
BLAKE2b-256 checksum How to use checksums |
a986375ab9d0deef26f199b953950123aa417a24ddd0e9f67f007fc52f9e1e8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |