__init__.py 467 B

12345678910111213141516171819202122232425262728293031
  1. """
  2. Main module for the grapheme package.
  3. .. data:: UNICODE_VERSION
  4. The currently supported Unicode version
  5. """
  6. from .api import (
  7. UNICODE_VERSION,
  8. contains,
  9. endswith,
  10. grapheme_lengths,
  11. graphemes,
  12. length,
  13. safe_split_index,
  14. slice,
  15. startswith,
  16. )
  17. __all__ = [
  18. "graphemes",
  19. "length",
  20. "grapheme_lengths",
  21. "slice",
  22. "contains",
  23. "safe_split_index",
  24. "startswith",
  25. "endswith",
  26. "UNICODE_VERSION",
  27. ]