Skip to content

TakWolf/unidata-blocks

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages