Skip to main content

'uniprop' provides the Unicode properties of codepoints similar to those of the unicodedata module.

Project description


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


This module supports Unicode 14.0.0.


>>> import uniprop
>>> uniprop.script('A')
>>> uniprop.script('\N{GREEK SMALL LETTER ALPHA}')
>>> uniprop.block('A')
>>> uniprop.block('\N{GREEK SMALL LETTER ALPHA}')
>>> uniprop.numeric_value('\N{VULGAR FRACTION ONE THIRD}')
>>> uniprop.numeric_value('A')
>>> uniprop.numeric_type('\N{VULGAR FRACTION ONE THIRD}')
>>> uniprop.numeric_type('A')

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

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

uniprop-1.7.tar.gz (124.4 kB view hashes)

Uploaded source

Built Distributions

uniprop-1.7-cp39-cp39-win_amd64.whl (91.3 kB view hashes)

Uploaded cp39

uniprop-1.7-cp39-cp39-win32.whl (90.3 kB view hashes)

Uploaded cp39

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page