unidata-blocks

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


Keywords
unicode
License
MIT
Install
pip install unidata-blocks==0.0.12

Documentation

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.