koremu
Express integers as memorable, pronounceable strings — and turn them back into integers.
Koremu maps each 7-bit chunk of a non-negative integer to one of 128
pronounceable syllables, so a number like 10610353957 becomes
koremutake. See http://shorl.com/koremutake for the original idea.
Installation
uv add koremu
Or, from a checkout:
uv pip install .
Usage
>>> from koremu import encode, decode
>>> encode(10610353957)
'koremutake'
>>> decode('koremutake')
10610353957
Pad the output to a minimum number of syllables:
>>> encode(0, syllables=3)
'bababa'
encode raises ValueError for negative numbers; decode raises
ValueError for strings that aren't valid koremutake.
Development
This project is managed with uv.
uv sync # set up the environment
uv run python -m unittest # run the tests
uv build # build the wheel and sdist
License
MIT — see LICENSE.
Metadata
Release files for koremu 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| koremu-1.0.0.tar.gz | 2.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| koremu-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.8 kB
Release files / koremu-1.0.0.tar.gz
| Download URL | koremu-1.0.0.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76e6bb8f428eb3aaa7a6d5d9b4b85c6b3c46aebcf5563850aed668fc4549c008
|
|
BLAKE2b-256 checksum How to use checksums |
5656f11eaa160fcbc0e500db0bea63ed084d74b9acbb99b2deb81262ae265b68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / koremu-1.0.0-py3-none-any.whl
| Download URL | koremu-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce664b653efd4f793c5c88244fc060ed93522a736767e857c22e85a11befc747
|
|
BLAKE2b-256 checksum How to use checksums |
a808245c5cb54f598c277f441070a85723ad2291561f6163e65637e5743bed4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for koremu 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.