Skip to main content

nku

Unified controller for NK Unicode numeral systems (nk10, nk20, nk30, nk100, nk200, nk256).
Handles compact number encoding and decoding across multiple radices.
Internally normalizes base=X to X×1000 if X < 1000.

Example

from nku import encode, decode

n = 12345678901234567890

# All valid and interchangeable
print(encode(n, base=10))       # = nk10
print(encode(n, base=100))      # = nk100
print(encode(n, base=256))      # = nk256

Metadata

Release files for nku 1.0.1

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

Source distribution (sdist)

Source distribution for nku 1.0.1
File Size Uploaded Provenance Actions
nku-1.0.1.tar.gz 1.2 MB Without provenance Details for nku-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nku 1.0.1
File Interpreter ABI Platform Actions
nku-1.0.1-py3-none-any.whl Python 3 none any Details for nku-1.0.1-py3-none-any.whl

Total release size: 2.4 MB

Release files / nku-1.0.1.tar.gz

Download URL nku-1.0.1.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
1f9f2c55e3a78ffa31689fbf8aee0362b569132ba73f1e69c0cbef50be3d3c5c
BLAKE2b-256 checksum
How to use checksums
6f9498276dd9232612d6f6760d53f212da86746597217851273d3747db03feb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / nku-1.0.1-py3-none-any.whl

Download URL nku-1.0.1-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
323b90b6595c46876a55ada3d0f34833b641f7bff0f582f5aedff3dfba75091b
BLAKE2b-256 checksum
How to use checksums
39028794be91533bdf575c7e6914eb9cb5252e23fb1a57ba3f69ec7e0ec0a47b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Security for nku 1.0.1

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.1 This release

2 release files 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