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

Uploaded Source

Built Distribution

unidata_blocks-0.0.15-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unidata_blocks-0.0.15.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for unidata_blocks-0.0.15.tar.gz
Algorithm Hash digest
SHA256 74f5498c0fae74dea10fcbfea69e7dfd2b071c2c2624b55162e0830502062509
MD5 0aefb9c6440c943569529cc1bef29ea2
BLAKE2b-256 b53c1e3f9f18f8c291bbf333387f6262760cf4a810df25c4beab7f34d285c2b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unidata_blocks-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 fa318b280538b63a30195130a49ef962e0641aac8abeafa9ad57e0aed63f05e6
MD5 57908366cbfd784813194d4a315a189a
BLAKE2b-256 ac56914ed8651d2edf6c24e45037702286c54ccd77c4c6d291198ae60f7ef1f2

See more details on using hashes here.

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