Python 3 Han character library for CJKV languages
Project description
Hanzilib
Hanzi 漢字 (Han characters) are used mainly in the Chinese language. The original repo (cjklib) has been dormant for more than a decade and was difficult to install for modern versions of Python. Hence, this fork is created as an attempt to port the entirety of (or most of) cjklib to modern Python.
hanzilib can be installed from PyPI
After installing, run hanzi build to build the database
Current state of the project
- Core ported to Python 3
- Core now uses SqlAlchemy 2.0
- There is still a LOT to update/document
- the legacy version
EDICTis used instead ofEDICT2, this will be changed shortly
Changes over the years
-
kRSKangXi(data from 康熙字典) was removed from Unihan in favour ofkRSUnicode, which is now the standard for getting radicals of Chinese characters (See: Unicode proposal L2/22-195) -
kRSKanwa(data from 大漢和辭典),kRSJapanese,kRSKoreanwere removed from Unihan (See: Unicode proposal L2/19-209)
Relevant changes in this project:
CharacterKangxiRadicalandCharacterKanwaRadicalare combined toCharacterChineseRadical
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hanzilib-0.0.5.tar.gz.
File metadata
- Download URL: hanzilib-0.0.5.tar.gz
- Upload date:
- Size: 8.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f100556ab2f5eb0c963ec232992be2fb946d616d7d105fc63d1dfc8b3c565df8
|
|
| MD5 |
fe7d0fbcfa41390b7d9fa2bfd85e276d
|
|
| BLAKE2b-256 |
6b24335f10eba962b3f6c7fd7712bc9e712ab7952410480273aa7e52663b990d
|
File details
Details for the file hanzilib-0.0.5-py3-none-any.whl.
File metadata
- Download URL: hanzilib-0.0.5-py3-none-any.whl
- Upload date:
- Size: 9.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac7cbe1fcd53caa2d6ffefe8a6185736210c8c114acba19c0005a264121c9d9d
|
|
| MD5 |
19e0a4fa649bff74c50ebb79b111bdf5
|
|
| BLAKE2b-256 |
e74e9db39a45f2ce2877d5a02acd46f067b52bb67b91282f43ffb07b4d29d257
|