Skip to main content

✨ One-function nk30 encoder/decoder using Hangul + Hanja (base-30000)

Project description

nk30

✨ One-function nk30 encoder/decoder using Hangul + Hanja (base-30000)
nk30 – Hybrid Number Kilo 30 Numeric system (삼만진수)

Install

pip install nk30

Usage

import nk30

nk30(123456)     # → '각漢' 형태의 문자
nk30('각漢')     # → 123456

Concept

  • Pass int → returns Hangul + Hanja encoded string
  • Pass str → returns original integer
  • Unicode based, lexicographically sortable
  • Extremely compact numeric representation
  • Ideal for short identifiers, symbolic compression, encoding systems

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

nk30-1.0.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

nk30-1.0.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file nk30-1.0.1.tar.gz.

File metadata

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

File hashes

Hashes for nk30-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6e9d86fb8e4c0a99aaa5a530735cc0cde2bfc89d240a35566d69ee58b8b3d707
MD5 d05bfb4a96f1c1bd63b0451e250d15f7
BLAKE2b-256 9db1934e06d73af7c315df3b625d74472b290726aa5d9466cb918aab083ea4d7

See more details on using hashes here.

File details

Details for the file nk30-1.0.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for nk30-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bd1fa0c0bf7227e273ee45f0c2d812f7695b8e31fc34e78c2cebb712572bd04b
MD5 fda990ba19bfa73b5f9d2210e09c3c1d
BLAKE2b-256 5ed38d43a652f62feca02f210fdfc261e5047178e3df38dd540774c8691d6ab7

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