Skip to main content

30KN: Unicode-based high-compression numeral system combining Hangul and Hanja for 30,000-radix encoding.

Project description

30KN (Three-Ten-Thousand Numeral System / 삼만진수 / 三万进制)

30KN is a high-compression Unicode-based numeral system that combines Hangul (10KN) and Hanzi (20KN) to represent large integers efficiently and reversibly.

30KN은 한글(10KN)과 한자(20KN)를 결합하여 정수 데이터를 초고압축 형태로 표현할 수 있는 유니코드 기반 숫자 인코딩 시스템입니다.

30KN是结合了韩文(10KN)和汉字(20KN)的高压缩Unicode数字编码系统,可高效且可逆地表示整数。


📌 Features / 특징 / 特点

  • 🔢 30,000 unique Unicode characters for encoding
  • 📦 ~14.9 bits per character compression
  • 🔁 Fully reversible: encode_30kn(), decode_30kn()
  • 🧭 Lexicographically sortable
  • 🔐 Unicode-safe, stable, language-neutral

🚀 How to Use / 사용법 / 使用方法

from thirtykn import encode_30kn, decode_30kn

print(encode_30kn(123456789))  # Encoded string
print(decode_30kn('...'))      # Back to number

🧱 Character Set / 문자셋 구성 / 字符集结构

Range Type Unicode Description
0–9999 Hangul 가~힣 Human-friendly encoding (10KN)
10000–29999 Hanja 一~龥 Machine-optimized encoding (20KN)

Total: 30,000 unique characters


🧑‍💻 Author

  • Creator: blueradiance
  • First Released: 2025.04.12
  • Project Type: Open Unicode Compression Framework

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

thirtykn-1.0.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

thirtykn-1.0.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file thirtykn-1.0.0.tar.gz.

File metadata

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

File hashes

Hashes for thirtykn-1.0.0.tar.gz
Algorithm Hash digest
SHA256 fb4d7feb1d3b81185001eae49c9bae4f2524b6564e85e97316bcecb869dbe820
MD5 fe0485ed090420d834ca7651e97e87c5
BLAKE2b-256 27ff1b0247c79c503f441e6931b62138c564533b9971945b61169bd5d83a5cfc

See more details on using hashes here.

File details

Details for the file thirtykn-1.0.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for thirtykn-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86fe58b694e9bb07319604670c536e3b2fb2bc78aace8831f678fec811907de6
MD5 1c50f8480738389b39313dbb5b9dc200
BLAKE2b-256 1cdb6d2fe7ec9757d67ebd1542e9692bf9c11d6b2fc5ecfe7b8e5beb6db3cc40

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