Skip to main content

10KN: Unicode Hangul-based 10,000-radix numeral system.

Project description

10KN · Hangul-Based Unicode Numeral System

Created by blueradiance

10KN is a 10,000-radix numeral system based on Korean Hangul characters (U+AC00 to U+D7A3). It enables ultra-compact, reversible integer encoding using only readable, sortable Unicode characters.


🔢 Features

  • Uses Hangul characters: '가' (U+AC00) to '힣' (U+D7A3)
  • Encodes integers with base-10,000 compression
  • Lexicographically sortable
  • Reversible with no loss
  • Perfect for file names, compact identifiers, or tagging systems

🚀 Quick Start

pip install tenkn
from tenkn import encode_10kn, decode_10kn

encoded = encode_10kn(123456789)
print(encoded)  # e.g., '각삳엉'

decoded = decode_10kn(encoded)
print(decoded)  # 123456789

📦 Encoding Logic

  • 0 → '가'
  • 1 → '각'
  • ...
  • 9999 → '힣'

Each digit is a Hangul character in base-10,000, compressed and reversible.


📜 License

Custom license. Free to use with attribution. No unauthorized modification or redistribution without credit.


📅 Version

First release: 2025.04.12
Author: blueradiance

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

tenkn-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

tenkn-1.0.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tenkn-1.0.0.tar.gz
Algorithm Hash digest
SHA256 674990e4b9c5cfd0ed5be7cbaac2441ab51d460992c8848d0996acfcaa81c890
MD5 ec0bcd18d5af6cac328772f0b251daa1
BLAKE2b-256 6178488e5765199d93338154eddadeef01e4fc5f88b6c9c04d8272c29551a88c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tenkn-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e518409b34cfd86ecbbd752d85deca0d2a36d33919ae51e582d9d02d92cc26f7
MD5 145b8b36e12496bdc5717223754a8f67
BLAKE2b-256 b84349c9c59dc24bac809c132b5bb3ac7b60f9528e57b0516c8f9a1fceb14854

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