Jkunicode

Latest version: v2.2.2

Safety actively analyzes 688917 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

2.2.2

Adds the `--source` option to the `ortho` command line tool. It can be used to specify the source of the language data. At the moment, `CLDR` and `Hyperglot` are valid values, with `CLDR` being the default.

Install/update via [PyPI](https://pypi.org/project/jkUnicode/2.2.2/).


usage: ortho [-h] [-b] [-f] [-i] [-k] [-m] [-p] [-n NEAR_MISS] [-s SUPPORT] [--source SOURCE] font [font ...]

Query fonts about orthographic support.

positional arguments:
font One or more fonts

options:
-h, --help show this help message and exit
-b, --bcp47 Output orthographies as BCP47 language subtags
-f, --full-only Report only orthographies that are supported with all optional characters
-i, --minimum-inclusive
Report orthographies that have at minimum basic support
-k, --kill-list Output a list of letters that don't appear together in any supported orthography.
-m, --minimum Report orthographies that have only basic support, i.e. no optional characters and no punctuation present
-p, --punctuation Report missing punctuation for otherwise supported orthographies
-n NEAR_MISS, --near-miss NEAR_MISS
Report almost supported orthographies with maximum number of missing characters
-s SUPPORT, --support SUPPORT
List Unicode characters missing from font to support the provided BCP47 language code
--source SOURCE Specify the source of orthography data, CLDR (default) or Hyperglot

2.2.0

- Update Unicode data to version 16.0.0
- Update CLDR language data to version 45

2.1.0

Feature changes:

- Add [Hyperglot](https://hyperglot.rosettatype.com) as data source (contributed by justanotherfoundry)

Pass `source="Hyperglot"` when instantiating the [OrthographyInfo](https://jkunicode.readthedocs.io/en/latest/orthography.html#jkUnicode.orthography.OrthographyInfo) class to choose the new data source.

- The orthographies list is now sorted by number of speakers by default

Maintenance changes:
- Make woff dependency optional
- Fix deprecation warning
- Reformat with line length 88
- Update publish workflow
- Drop Python 3.8 support
- Add Python 3.13 to test environments

The package is available on [PyPI](https://pypi.org/project/jkUnicode/). Install or upgrade via pip.

2.0.6

- Remove local additions from AGLFN data
- Rename method report_kill_list to report_kern_list
- Performance improvements
- Return kern_list as frozenset instead of list
- Typing annotations

2.0.2

- Update docs config (fixes [readthedocs](https://jkunicode.readthedocs.io/en/latest/) build)
- Add setter for `UniInfo.char`
- Remove printing of certain nice name transformations
- Use cached properties throughout
- Add tests for `UniInfo`

2.0.0

- Add cmdline option to report missing characters for a given orthography
- Update docs and docstrings
- Fix ignored characters parsing
- Handle script and territory tags in `OrthographyInfo.report_missing`

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.