unicodedata-reader
This package reads and parses the Unicode Character Database files.
Many of them are available in the unicodedata module, or in other 3rd party modules. When the desired data is not in any existing modules, such as the Line_Break property or the Vertical_Orientation property, this package can read the data files at https://www.unicode.org/Public/UNIDATA/.
This package can also generate JavaScript functions that can read the property values of the Unicode Character Database in browsers. Please see the JavaScript section below.
Install
pip install unicodedata-reader
If you want to clone and install using poetry:
git clone https://github.com/kojiishi/unicodedata-reader
cd unicodedata-reader
poetry install
poetry shell
Python
import unicodedata_reader
reader = unicodedata_reader.UnicodeDataReader.default
lb = reader.line_break()
print(lb[0x41])
The example above prints AL,
the Line_Break property value for U+0041.
Please also see line_break_test.py for more usages.
JavaScript
The UnicodeDataCompressor class in this package
can generate JavaScript functions that can read the property values
of the Unicode Character Database in browsers.
Following examples are available in the "js" directory:
- GeneralCategory.js is a generated JavaScript file for the Unicode General_Category property.
- LineBreak.js is a generated JavaScript file for the Unicode Line_Break property.
- LineBreak.html for an example usage of LineBreak.js.
The following command generates a JavaScript file for the Line_Break property
using js/template.js as the template file:
unicodedata-reader lb -t js/template.js
Metadata
Release files for unicodedata-reader 1.3.10
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 |
|---|---|---|---|---|
| unicodedata_reader-1.3.10.tar.gz | 546.2 kB | Without provenance | Details for unicodedata_reader-1.3.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| unicodedata_reader-1.3.10-py3-none-any.whl | Python 3 | none | any | Details for unicodedata_reader-1.3.10-py3-none-any.whl |
Total release size: 568.3 kB
Release files / unicodedata_reader-1.3.10.tar.gz
| Download URL | unicodedata_reader-1.3.10.tar.gz |
|---|---|
| Size | 546.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43a687b97e0dd359d5554ba598f62997b72fefbc5d42ba999112c044bc5680ae
|
|
BLAKE2b-256 checksum How to use checksums |
ab9537437202870f81d032f593105ad0a95ef72a19e92c670414971cb0e9eef4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / unicodedata_reader-1.3.10-py3-none-any.whl
| Download URL | unicodedata_reader-1.3.10-py3-none-any.whl |
|---|---|
| Size | 22.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5bbe99d88675a346b97a2e24cd5e166e316ac2f85f71c468828eb59ca6e80783
|
|
BLAKE2b-256 checksum How to use checksums |
685f16ac7af8efd1c4b7b14cae6565ea166bb5b682c4e2af6f8524520f83c358
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for unicodedata-reader 1.3.10
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.