Skip to main content

✨ One-function nk20 encoder/decoder using CJK Unified Ideographs (base-20000)

Project description

nk20

✨ One-function nk20 encoder/decoder using CJK Unified Ideographs (base-20000)
nk20 – Number Kilo 20 Numeric system (이만진수)


Install

pip install nk20

Usage

import nk20

nk20(123456)     # → '漢字' 등 한자 조합 문자열
nk20('漢字')     # → 123456

Concept

  • Pass int → returns nk20 CJK string.
  • Pass str → returns original integer.
  • Based on Unicode range U+4E00 ~ U+9FFF (20,992 chars).
  • Lexicographically sortable & extremely compact.

License

MIT

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

nk20-0.1.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nk20-0.1.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file nk20-0.1.1.tar.gz.

File metadata

  • Download URL: nk20-0.1.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for nk20-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b7e8e5a59ef3c3ecf617eacf09ba2c53d7ab9d41067cd751e17f85c1b885231a
MD5 eb76bbd859dda1f99749827cb6c68771
BLAKE2b-256 e7b23dcd7d5323286085c488cd8c4a81081cbefd3526ac7f808fd3c76a49c245

See more details on using hashes here.

File details

Details for the file nk20-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: nk20-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for nk20-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 62a3771e3a8fbc9542d414f66f43b8c942041504a9b33219d8ac21c4e8a0e5da
MD5 828dda681cd79c25e19fc49555257bd5
BLAKE2b-256 1bd7add6c9e29b9b78844b43231d30ace273e31a0d85a24fe6d8bdbad59d1b0d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page