Skip to main content

🔢 name all canonical things 🔢

Project description

🔢 nmr: name all canonical things 🔢

Convert each canonical thing into a number, and then that number into a unique, non-repeating name from a short list of common, short English words… or use a word list of your choice.

Installs both a module named nmr and an executable called nmr.py

EXAMPLE

import nmr

assert nmr(0) == ['the']
assert nmr(2718281828) == ['the', 'race', 'tie', 'hook']

for i in range(-2, 3):
    print(i, ':', *nmr(i))

# Prints
#   -2 : to
#   -1 : of
#   0 : the
#   1 : and
#   2 : a

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

nmr-0.9.1.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

nmr-0.9.1-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file nmr-0.9.1.tar.gz.

File metadata

  • Download URL: nmr-0.9.1.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.9 Darwin/21.6.0

File hashes

Hashes for nmr-0.9.1.tar.gz
Algorithm Hash digest
SHA256 43b290fdc4952b08b88d6a906f3a59e29f8636fb7705b8a350ab4fa0852d2882
MD5 702b255bd832961380ed82f51d37a3bf
BLAKE2b-256 fb33b194fbf1c291206ffbc38ac098e18e7b2b6418438e12cc10ac0e2931f73f

See more details on using hashes here.

File details

Details for the file nmr-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: nmr-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.9 Darwin/21.6.0

File hashes

Hashes for nmr-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5a8630fa44bdf588f00b5cf3d3b6dc8dbd78e4321c6fcc79a5bb987f7343dcee
MD5 577acae935ffa43bb807202b171be8a6
BLAKE2b-256 f6f6054141877328cff69c2a16f3a07a8949778032f49a4a138483a1d77f2093

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