Name | nmr JSON |
Version |
0.9.1
JSON |
| download |
home_page | |
Summary | 🔢 name all canonical things 🔢 |
upload_time | 2022-12-19 12:42:45 |
maintainer | |
docs_url | None |
author | Tom Ritchford |
requires_python | >=3.8,<4.0 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
🔢 ``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
=========
.. code-block:: python
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
Raw data
{
"_id": null,
"home_page": "",
"name": "nmr",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Tom Ritchford",
"author_email": "tom@swirly.com",
"download_url": "https://files.pythonhosted.org/packages/fb/33/b194fbf1c291206ffbc38ac098e18e7b2b6418438e12cc10ac0e2931f73f/nmr-0.9.1.tar.gz",
"platform": null,
"description": "\ud83d\udd22 ``nmr``: name all canonical things \ud83d\udd22\n\nConvert each canonical thing into a number, and then that number into a unique,\nnon-repeating name from a short list of common, short English words... or use a\nword list of your choice.\n\nInstalls both a module named ``nmr`` and an executable called ``nmr.py``\n\nEXAMPLE\n=========\n\n.. code-block:: python\n\n import nmr\n\n assert nmr(0) == ['the']\n assert nmr(2718281828) == ['the', 'race', 'tie', 'hook']\n\n for i in range(-2, 3):\n print(i, ':', *nmr(i))\n\n # Prints\n # -2 : to\n # -1 : of\n # 0 : the\n # 1 : and\n # 2 : a\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "\ud83d\udd22 name all canonical things \ud83d\udd22",
"version": "0.9.1",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "577acae935ffa43bb807202b171be8a6",
"sha256": "5a8630fa44bdf588f00b5cf3d3b6dc8dbd78e4321c6fcc79a5bb987f7343dcee"
},
"downloads": -1,
"filename": "nmr-0.9.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "577acae935ffa43bb807202b171be8a6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 12598,
"upload_time": "2022-12-19T12:42:44",
"upload_time_iso_8601": "2022-12-19T12:42:44.356276Z",
"url": "https://files.pythonhosted.org/packages/f6/f6/054141877328cff69c2a16f3a07a8949778032f49a4a138483a1d77f2093/nmr-0.9.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "702b255bd832961380ed82f51d37a3bf",
"sha256": "43b290fdc4952b08b88d6a906f3a59e29f8636fb7705b8a350ab4fa0852d2882"
},
"downloads": -1,
"filename": "nmr-0.9.1.tar.gz",
"has_sig": false,
"md5_digest": "702b255bd832961380ed82f51d37a3bf",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 9301,
"upload_time": "2022-12-19T12:42:45",
"upload_time_iso_8601": "2022-12-19T12:42:45.750616Z",
"url": "https://files.pythonhosted.org/packages/fb/33/b194fbf1c291206ffbc38ac098e18e7b2b6418438e12cc10ac0e2931f73f/nmr-0.9.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-19 12:42:45",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "nmr"
}