Grapheme

Latest version: v0.6.0

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

Scan your dependencies

Page 1 of 2

0.6.0

Added support for Unicode 13.

Drops support for python 3.4 & 3.5. Now tested on python 3.6 - 3.8.
No API changes

0.5.0

Added support for Unicode 12.

No API changes

0.4.0

Added support for Unicode 11.

Added `grapheme.UNICODE_VERSION`.

No other API changes

0.3.0

Added a few new functions:

* `grapheme.safe_split_index`, which can find the highest grapheme boundary index in a given string without traversing the full grapheme sequence.
* `grapheme.startswith`, which tests that a given string starts with the same grapheme sequence as a given prefix.
* `grapheme.endswith`, which tests that a given string ends with the same grapheme sequence as a given suffix.

0.2.1

Performance improvements

No new functionality, but noticably better performance.

0.2.0

* Adds `grapheme.contains`
* Bugfix for empty strings

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.