Skip to main content

Generate human-readable 3-word identifiers from the EFF long Diceware wordlist

Project description

three-dice-words (Python)

Generate 3-word hyphenated identifiers from the EFF long Diceware wordlist.

Minimal API (defaults: bundled wordlist, crypto RNG):

from three_dice_words import generate_threewords, generate_threewords_batch

generate_threewords()           # e.g. "lantern-galaxy-cactus"
generate_threewords_batch(10)   # list of 10 IDs

Customize (wordlist path, RNG): load_wordlist, generate, generate_batch.

Test scaling (serial vs batch, 1 … 1M): poetry run python scripts/test_scaling.py

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

three_dice_words-0.1.0.tar.gz (46.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

three_dice_words-0.1.0-py3-none-any.whl (46.7 kB view details)

Uploaded Python 3

File details

Details for the file three_dice_words-0.1.0.tar.gz.

File metadata

  • Download URL: three_dice_words-0.1.0.tar.gz
  • Upload date:
  • Size: 46.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for three_dice_words-0.1.0.tar.gz
Algorithm Hash digest
SHA256 99be0a6d5d5adacb7b5116b452145b2ae31dc0a799ab25d70f45f1f459ca85a8
MD5 ba98374e864da7b35d6f29ec3ba4dea4
BLAKE2b-256 0adbe23abf61b041711608d2c37ad772c082cbee6a5cc7069418a74c5533668f

See more details on using hashes here.

File details

Details for the file three_dice_words-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for three_dice_words-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 94b6ed7a8baa8b505666e3311095dda9fa114ddb6ac7c984b76506eb96d44e93
MD5 304bf942921da909277111e75085dff3
BLAKE2b-256 b8d787d8657c5e5138cccd94870e42f22ffd8207414d2b5ecbd98f6a63d7a1df

See more details on using hashes here.

Supported by

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