Interface to the Unicode Character Database
Project description
This module allows you to query the Unicode Character Database. The main function to be imported is ucd_data:
>>> ucd_data(0x078A) {'Age': '3.0', 'Block': 'Thaana', 'Canonical_Combining_Class': '0', 'East_Asian_Width': 'N', 'General_Category': 'Lo', 'Line_Break': 'AL', 'Name': 'THAANA LETTER FAAFU', 'Script': 'Thaana'}
On first run, it will download the database files for you from unicode.org. These are stored in .youseedee in your home directory.
You may also use it as a command line utility:
$ python3 -m youseedee 0x078A {'Age': '3.0', 'Block': 'Thaana', 'Canonical_Combining_Class': '0', 'East_Asian_Width': 'N', 'General_Category': 'Lo', 'Line_Break': 'AL', 'Name': 'THAANA LETTER FAAFU', 'Script': 'Thaana'} $ python3 -m youseedee Ǩ {'Age': '1.1', 'Block': 'Latin Extended-B', 'Canonical_Combining_Class': '0', 'Case_Folding_Mapping': '01E9', 'Case_Folding_Status': 'C', 'East_Asian_Width': 'N', 'General_Category': 'Lu', 'Line_Break': 'AL', 'Name': 'LATIN CAPITAL LETTER K WITH CARON', 'Script': 'Latin'}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
youseedee-0.4.0.tar.gz
(13.9 kB
view hashes)
Built Distribution
Close
Hashes for youseedee-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d31e252a2bfd8a7a5fc28c9f3df13d3a05afb8729d1f2210242c3bd9f5ebf00 |
|
MD5 | f0d9841f4c1f0f823c9fda6c5d8d24e2 |
|
BLAKE2b-256 | ce92c882774ceff855e8f224eddab98b63b09f5ff3b2296c76be10177a2b7d69 |