__init__.py 849 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. from .package_data import __version__
  2. from .core import (
  3. IDNABidiError,
  4. IDNAError,
  5. InvalidCodepoint,
  6. InvalidCodepointContext,
  7. alabel,
  8. check_bidi,
  9. check_hyphen_ok,
  10. check_initial_combiner,
  11. check_label,
  12. check_nfc,
  13. decode,
  14. encode,
  15. ulabel,
  16. uts46_remap,
  17. valid_contextj,
  18. valid_contexto,
  19. valid_label_length,
  20. valid_string_length,
  21. )
  22. from .intranges import intranges_contain
  23. __all__ = [
  24. "IDNABidiError",
  25. "IDNAError",
  26. "InvalidCodepoint",
  27. "InvalidCodepointContext",
  28. "alabel",
  29. "check_bidi",
  30. "check_hyphen_ok",
  31. "check_initial_combiner",
  32. "check_label",
  33. "check_nfc",
  34. "decode",
  35. "encode",
  36. "intranges_contain",
  37. "ulabel",
  38. "uts46_remap",
  39. "valid_contextj",
  40. "valid_contexto",
  41. "valid_label_length",
  42. "valid_string_length",
  43. ]