Skip to main content

A library that helps query unicode blocks by Blocks.txt.

Project description

Unidata Blocks

Python PyPI

A library that helps query unicode blocks by Blocks.txt.

Installation

pip install unidata-blocks

Usage

import unidata_blocks

block = unidata_blocks.get_block_by_chr('A')
assert block.code_start == 0x0000
assert block.code_end == 0x007F
assert block.name == 'Basic Latin'

Dependencies

License

Under the MIT license.

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

unidata_blocks-0.0.11.tar.gz (14.0 kB view hashes)

Uploaded Source

Built Distribution

unidata_blocks-0.0.11-py3-none-any.whl (13.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page