Skip to main content

Analyze passwords' memorizability and generate pronounceable words.

Project description

Pronounceable

Build Status PyPI version shields.io PyPI license

  • 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

More on password

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

pronounceable-0.1.3.tar.gz (45.5 kB view details)

Uploaded Source

Built Distribution

pronounceable-0.1.3-py3-none-any.whl (44.8 kB view details)

Uploaded Python 3

File details

Details for the file pronounceable-0.1.3.tar.gz.

File metadata

File hashes

Hashes for pronounceable-0.1.3.tar.gz
Algorithm Hash digest
SHA256 12a0cf1234ab030ab959a6c185f7510be22caf361c5cdbdbb20d78fcb09c356b
MD5 e4dde4340133942ba5e5a4ada6d5b780
BLAKE2b-256 1dde002b6976c59799c031625695a45f6b4aa82e9fccaf9e27aeea29e71a734c

See more details on using hashes here.

File details

Details for the file pronounceable-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for pronounceable-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f41582795d0a3dbc62e489ed21cdb3d14d5a4dcb9ca87272c612eb82b2623ded
MD5 6b7a3c4df68cd6e36e419f24c970d332
BLAKE2b-256 a986375ab9d0deef26f199b953950123aa417a24ddd0e9f67f007fc52f9e1e8e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page