Hyperglot

Latest version: v0.6.4

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

Scan your dependencies

Page 1 of 9

0.6.4

- FIX: Fixed an issue where trying to log missing shaping glyphs would crash in `FontChecker`
- FIX: Improved mark shaping detection to interpret ccmp substitutions of base + mark as correctly shaping (thanks arialcrime)
- TWEAK: Cleaned up `hyperglot.language.Language` class and added attribute properties for dict properties with computed defaults (as opposed to writing defaults for missing attributes) as well as more code annotation
- TWEAK: `hyperglot.orthography.Orthography` object has `script_iso` attribute returning the mapped ISO 15924 script tag
- DATA: Added `lib/extra_data/script-names.yaml` with a list of all current Hyperglot scripts and a mapping to their ISO 15924 code equivalent
- DATA: Added di/tri-graphs to Czech and Hungarian orthographies and fixed their order
- DATA: Added Squamish (`squ`) (thanks justinpenner)
- DATA: Unified "Geʽez" script with reversed comma, as opposed to previous mixed use of "Ge'ez/Fidel" and "Ge'ez"
- DATA: Amended spelling "Tai Viet" script in title case to match other script names
- DATA: Corrected spelling of "Bamum" script and language (instead of less used "Bamun" used in Hyperglot)
- DATA: Use "Coptic" instead of "Coptic/Numbian" script name
- DATA: Use "Burmese" script for language "Mon"
- DATA: Use "Baybayin" script name instead of "Tagalog (Baybayin, Alibata)"
- DATA: Fixed Toki Pona (`tok`) file name
- TWEAK: Make sure `Orthography.base_chars` and `Orthography.aux_chars` return no duplicates for decomposed character sequences
- TWEAK: Define `Languages`, `Language` and `Orthography` as module top level exports for easier importing, e.g. now: `from hyperglot import Language`

0.6.3

- FIX: Set correct default values for `Language.status` and `Orthography.preferred_as_group` and provide validation and tests for these.
- TWEAK: Deprecated plain list `SUPPORTLEVELS, VALIDITYLEVELS, STATUSES, ORTHOGRAPHY_STATUSES` and replaced them with `SupportLevel, LanguageValidity, LanguageStatus, OrthographyStatus` enums throughout the code base. The deprecated values will be removed in the next minor version.
- TESTS: Added simple tox config for running test on all supported minor python versions

0.6.2

- FIX: Fixed type hinting issue causing failure on python 3.8.x
- DATA: Added Banjar (`bjn`) (thanks mahalisyarifuddin)
- DATA: Expanded Xavánte (`xav`) data (thanks moyogo)

0.6.1

- DATA: Refined Romanian by adding `design_alternates` explicitly

0.6.0

- DATA: Refined Klingon (`tlh`) orthography and added a draft version of Toki Pona (`tok`)
- FEATURE: Implemented shaping checks for mark positioning when required by unencoded base + mark combinations or `--decompose`
- FEATURE: Implemented shaping checks for connecting scripts to detect presence of required positional forms
- FEATURE: Implemented `hyperglot-report` command with same options as `hyperglot` and additional `--report-missing n`, `--report-marks n` and `--report-joining n` — or `--report-all n` to toggle all aforementioned — parameters/flags for outputting languages _almost_ supported by the font
- TWEAK: Support checking is now done via `hyperglot.checker` objects for cleaner separation between language data and checking fonts
- TWEAK: Various python APIs and objects changed and refactored
- TWEAK: Bumped required python version to 3.8.0

0.5.3

- DATA : Added Tlingit `tli` language data (thanks jcrippen)
- DATA: Fixed inconsistent note about `Ŋ` in various languages (thanks moyogo)
- TWEAK: Improved `hyperglot-validate` to spot lookalike characters in the wrong script, e.g. `a` (Latin U+0061) vs `а` (Cyrillic U+0430)
- TWEAK: Explicitly ignore non-yaml files (e.g. operating system or other) in the data when parsing
- TWEAK: Improved `hyperglot-validate` command to better catch yaml issues (thanks for reporting jcrippen)

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.