Skip to main content

Generate memorable passphrases using pseudowords.

Project description

applephrase

applephrase is a commandline utility to generate memorable passphrases composed of a number of randomized pseudowords and a brief random string. The pseudowords can be generated for a number of languages: Dutch, French, English, German, Polish, Basque, Spanish, Italian, Serbocroatian Latin, Serbocroatian Cyrillic, Vietnamese, Estonian.

Some examples:

Odešišćima-Krškrme-aKpmvO
Ушоут-Џкићак-ON420G
Brühölde-Beruhrem-dg6fgP
Toevenboot-Rijswormen-yOrofH
Kindati-Mirdez-tmGS5k
Curpina-Beonangica-JVMK0t
Démièrea-Rammardée-nhlpwd
Naaled-Läägalide-R6qy04
Oằnẻo-Namchất-KaRrOm
Settenti-Ivonendo-kfOC8m
Trazonents-Oluviungly-nBwpng
Ulywcał-Ścipczyk-6hmSx7

The idea is that the use of pseudowords generates enough entropy in fewer words compared to regular passphrases. A terminating number of random alphanumeric characters helps get around the most common password requirements, and of course adds to the entropy. Since the pseudowords are (hopefully) pronouncable and the random characters limited in number, the resulting passphrase is memorable and still quite short.

Wuggy

This project makes heavy use of Wuggy, the software that generates the pseudowords. The upstream Python package does not install anymore, but this is easily resolved by removing the unnecessarily strict versions from the requirements file. I made some more modifications to it and added the Estonian language found in one of the forks. Wuggy is not very fast but it is fast enough and is the only project I know of to be available in Python and generate pseudowords in languages other than English.

For Serbocroatian Cyrilic and German I had to add a workaround that increases runtime, so don't be worried when it takes a minute.

I include a copy of my modified Wuggy in applephrase/wuggy. If anyone is interested, I can break it out again (or help upsteam update their package).

Alternatives

https://github.com/chrplr/openlexicon/tree/master/apps/unipseudo is fast, but written in R/Shiny. Sources seem available, but it's unclear what license the lexicon is provided under.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

applephrase-1.0.tar.gz (19.6 MB view details)

Uploaded Source

Built Distribution

applephrase-1.0-py3-none-any.whl (19.7 MB view details)

Uploaded Python 3

File details

Details for the file applephrase-1.0.tar.gz.

File metadata

  • Download URL: applephrase-1.0.tar.gz
  • Upload date:
  • Size: 19.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for applephrase-1.0.tar.gz
Algorithm Hash digest
SHA256 c58ba466371752faa14b643c86c1fe0e210aea603e0fe899eb40d2bf8aada419
MD5 219af9c75e095dd54b75ca7df59e7d27
BLAKE2b-256 3ba65cf7884c52ed40b652f131922ba6592924887060e507b0e774ed8f3bd1d2

See more details on using hashes here.

File details

Details for the file applephrase-1.0-py3-none-any.whl.

File metadata

  • Download URL: applephrase-1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for applephrase-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c327abb3aa468cd4ac8c49fdbcb6891a9de9adbfe3d691e0d39fe61325c2d495
MD5 f059c67b2308151b56aa00842f831f47
BLAKE2b-256 8b1919f982c4795fcd711985118c833a3195d464a1e9ecd49ab1905e644b8aa8

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