Skip to main content

Summary

This module reports the Unicode properties of codepoints, beyond what Python’s unicodedata module provides.

Unicode

This module supports Unicode 14.0.0.

Examples

>>> import uniprop
>>> uniprop.script('A')
'Latin'
>>> uniprop.script('\N{GREEK SMALL LETTER ALPHA}')
'Greek'
>>> uniprop.block('A')
'Basic_Latin'
>>> uniprop.block('\N{GREEK SMALL LETTER ALPHA}')
'Greek_And_Coptic'
>>> uniprop.numeric_value('\N{VULGAR FRACTION ONE THIRD}')
'1/3'
>>> uniprop.numeric_value('A')
'NaN'
>>> uniprop.numeric_type('\N{VULGAR FRACTION ONE THIRD}')
'Numeric'
>>> uniprop.numeric_type('A')
'None'

Please note that all of the results are strings. This differs from the unicodedata module where numeric_value returns a float.

Metadata

Release files for uniprop 1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uniprop 1.7
File Size Uploaded Provenance Actions
uniprop-1.7.tar.gz 124.4 kB Without provenance Details for uniprop-1.7.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for uniprop 1.7
File Interpreter ABI Platform Actions
uniprop-1.7-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for uniprop-1.7-cp39-cp39-win_amd64.whl
uniprop-1.7-cp39-cp39-win32.whl CPython 3.9 CPython 3.9 Windows x86-32 Details for uniprop-1.7-cp39-cp39-win32.whl

Total release size: 305.9 kB

Release files / uniprop-1.7.tar.gz

Download URL uniprop-1.7.tar.gz
Size 124.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a8d3424d8a1cff3e592eca528a0af26ea3fbd875a704c3f7fabfd511438b3b7b
BLAKE2b-256 checksum
How to use checksums
419277401571e89aaa94b8d877fb2cd6c5f2b212a10f7f9d1cb866d197bc8593
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.7

Release files / uniprop-1.7-cp39-cp39-win_amd64.whl

Download URL uniprop-1.7-cp39-cp39-win_amd64.whl
Size 91.3 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
56e4079086798cf73edc975eb4b6516334f4546c467d2b32dfcffa3e67c0f1d9
BLAKE2b-256 checksum
How to use checksums
a5854ead00a22c1a851f054c30b2e9fb2d433a6c0fe1bc996a9b2da81bc0b63d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.7

Release files / uniprop-1.7-cp39-cp39-win32.whl

Download URL uniprop-1.7-cp39-cp39-win32.whl
Size 90.3 kB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
45e1962393b09f23491b2cd3db4c6d7ea6b51bf827f7fc6f58f824a7fd18d78c
BLAKE2b-256 checksum
How to use checksums
2ee643532f6a5da1d8278c28e2838ede9e41f8deaf855117cb2fa1dcbdbf6bb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.7

Security for uniprop 1.7

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page