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.13.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

unidata_blocks-0.0.13-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file unidata_blocks-0.0.13.tar.gz.

File metadata

  • Download URL: unidata_blocks-0.0.13.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for unidata_blocks-0.0.13.tar.gz
Algorithm Hash digest
SHA256 250c0a30484376fbec9d723a42c5764dcb81de6c3935c00b6e2e64339c65fcfc
MD5 1c49002916d21f3c5f46f8ce5f896f43
BLAKE2b-256 0923933d70ecf81a9b11b1928543eb367d0e3832a49b8ea9b03ad0a3eb49bd8a

See more details on using hashes here.

Provenance

File details

Details for the file unidata_blocks-0.0.13-py3-none-any.whl.

File metadata

File hashes

Hashes for unidata_blocks-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 06f5e60f9a654a748b3c667efb12e20fc252d54895d8162c171b344efe83619b
MD5 81d122cc8e11c6aea364fdd1bec2fd25
BLAKE2b-256 8981743416f96666991ddffc59b4d2bb0278a603f1166afd62afe4cb8cf9d18d

See more details on using hashes here.

Provenance

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