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
Metadata
Release files for thirtykn 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| thirtykn-1.0.0.tar.gz | 3.7 kB | Without provenance | Details for thirtykn-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| thirtykn-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for thirtykn-1.0.0-py3-none-any.whl |
Total release size: 7.6 kB
Release files / thirtykn-1.0.0.tar.gz
| Download URL | thirtykn-1.0.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb4d7feb1d3b81185001eae49c9bae4f2524b6564e85e97316bcecb869dbe820
|
|
BLAKE2b-256 checksum How to use checksums |
27ff1b0247c79c503f441e6931b62138c564533b9971945b61169bd5d83a5cfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / thirtykn-1.0.0-py3-none-any.whl
| Download URL | thirtykn-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
86fe58b694e9bb07319604670c536e3b2fb2bc78aace8831f678fec811907de6
|
|
BLAKE2b-256 checksum How to use checksums |
1cdb6d2fe7ec9757d67ebd1542e9692bf9c11d6b2fc5ecfe7b8e5beb6db3cc40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for thirtykn 1.0.0
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.