Skip to main content

xkcd936

Convert cumbersome strings into memorable phrases.

Installation

pip install xkcd936

Usage

from xkcd936 import visualize
memorable_str = visualize('k2dhE4hd@!Y')

About

This generator performs an MD5 hash of the input. The resulting bits are used to choose a grammatical template:

  • article adj adj animal
  • adj article adj animal

The dictionary can be upgraded to include patterns like:

  • verb article adj noun
  • article adj adj noun
  • article adv adj noun
  • adv verb article noun

and a word for each slot.

The total space is around 43 bits. This may not sound like much, but it doesn't matter.

Software doesn't just run on the computer -- it also runs in each of your users' heads. For many problems with user-facing software, "adding more bits" is the wrong solution. The right solution often involves tapping into the user's natural cognitive and social capabilities.

License

Released under MIT license.

Metadata

Release files for xkcd936 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xkcd936 1.0.0
File Size Uploaded Provenance Actions
xkcd936-1.0.0.macosx-10.13-x86_64.tar.gz 2.4 kB Without provenance Details for xkcd936-1.0.0.macosx-10.13-x86_64.tar.gz

Release files / xkcd936-1.0.0.macosx-10.13-x86_64.tar.gz

Download URL xkcd936-1.0.0.macosx-10.13-x86_64.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6c5e87288823d256e5c94ae68799886927756e89a0f16148096c93d9c8180206
BLAKE2b-256 checksum
How to use checksums
8c0ead189245dbda95467be1303666dca914cc9acb7af64192b175a93d47db53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

Security for xkcd936 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page