Metadata-Version: 2.1
Name: uniprop_fixed
Version: 1.7.post1
Summary: 'uniprop' provides the Unicode properties of codepoints similar to those of the unicodedata module.
Home-page: https://github.com/pxeger/uniprop
Author: Matthew Barnett; Patrick Reader
Author-email: uniprop@pxeger.com
License: Apache Software License
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3.9
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing
Classifier: Topic :: Text Processing :: General
Classifier: License :: OSI Approved :: Apache Software License
Requires-Python: >=3.8
Description-Content-Type: text/x-rst
License-File: LICENSE

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
--------

  .. sourcecode:: python

    >>> 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.


