unidata-blocks


Nameunidata-blocks JSON
Version 0.0.15 PyPI version JSON
download
home_pageNone
SummaryA library that helps query unicode blocks by Blocks.txt.
upload_time2024-09-18 13:59:17
maintainerTakWolf
docs_urlNone
authorTakWolf
requires_python>=3.10
licenseMIT License
keywords unicode
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Unidata Blocks

[![Python](https://img.shields.io/badge/python-3.10-brightgreen)](https://www.python.org)
[![PyPI](https://img.shields.io/pypi/v/unidata-blocks)](https://pypi.org/project/unidata-blocks/)

A library that helps query unicode blocks by [Blocks.txt](https://www.unicode.org/Public/UNIDATA/Blocks.txt).

## Installation

```shell
pip install unidata-blocks
```

## Usage

```python
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

- [Langcodes](https://github.com/rspeer/langcodes)

## License

Under the [MIT license](LICENSE).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "unidata-blocks",
    "maintainer": "TakWolf",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "unicode",
    "author": "TakWolf",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/b5/3c/1e3f9f18f8c291bbf333387f6262760cf4a810df25c4beab7f34d285c2b9/unidata_blocks-0.0.15.tar.gz",
    "platform": null,
    "description": "# Unidata Blocks\n\n[![Python](https://img.shields.io/badge/python-3.10-brightgreen)](https://www.python.org)\n[![PyPI](https://img.shields.io/pypi/v/unidata-blocks)](https://pypi.org/project/unidata-blocks/)\n\nA library that helps query unicode blocks by [Blocks.txt](https://www.unicode.org/Public/UNIDATA/Blocks.txt).\n\n## Installation\n\n```shell\npip install unidata-blocks\n```\n\n## Usage\n\n```python\nimport unidata_blocks\n\nblock = unidata_blocks.get_block_by_chr('A')\nassert block.code_start == 0x0000\nassert block.code_end == 0x007F\nassert block.name == 'Basic Latin'\n```\n\n## Dependencies\n\n- [Langcodes](https://github.com/rspeer/langcodes)\n\n## License\n\nUnder the [MIT license](LICENSE).\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "A library that helps query unicode blocks by Blocks.txt.",
    "version": "0.0.15",
    "project_urls": {
        "homepage": "https://github.com/TakWolf/unidata-blocks",
        "issues": "https://github.com/TakWolf/unidata-blocks/issues",
        "source": "https://github.com/TakWolf/unidata-blocks"
    },
    "split_keywords": [
        "unicode"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ac56914ed8651d2edf6c24e45037702286c54ccd77c4c6d291198ae60f7ef1f2",
                "md5": "57908366cbfd784813194d4a315a189a",
                "sha256": "fa318b280538b63a30195130a49ef962e0641aac8abeafa9ad57e0aed63f05e6"
            },
            "downloads": -1,
            "filename": "unidata_blocks-0.0.15-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "57908366cbfd784813194d4a315a189a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 13513,
            "upload_time": "2024-09-18T13:59:15",
            "upload_time_iso_8601": "2024-09-18T13:59:15.873350Z",
            "url": "https://files.pythonhosted.org/packages/ac/56/914ed8651d2edf6c24e45037702286c54ccd77c4c6d291198ae60f7ef1f2/unidata_blocks-0.0.15-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b53c1e3f9f18f8c291bbf333387f6262760cf4a810df25c4beab7f34d285c2b9",
                "md5": "0aefb9c6440c943569529cc1bef29ea2",
                "sha256": "74f5498c0fae74dea10fcbfea69e7dfd2b071c2c2624b55162e0830502062509"
            },
            "downloads": -1,
            "filename": "unidata_blocks-0.0.15.tar.gz",
            "has_sig": false,
            "md5_digest": "0aefb9c6440c943569529cc1bef29ea2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 14470,
            "upload_time": "2024-09-18T13:59:17",
            "upload_time_iso_8601": "2024-09-18T13:59:17.361363Z",
            "url": "https://files.pythonhosted.org/packages/b5/3c/1e3f9f18f8c291bbf333387f6262760cf4a810df25c4beab7f34d285c2b9/unidata_blocks-0.0.15.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-18 13:59:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "TakWolf",
    "github_project": "unidata-blocks",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "unidata-blocks"
}
        
Elapsed time: 0.45805s