__init__.py 882 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. """
  2. babel
  3. ~~~~~
  4. Integrated collection of utilities that assist in internationalizing and
  5. localizing applications.
  6. This package is basically composed of two major parts:
  7. * tools to build and work with ``gettext`` message catalogs
  8. * a Python interface to the CLDR (Common Locale Data Repository), providing
  9. access to various locale display names, localized number and date
  10. formatting, etc.
  11. :copyright: (c) 2013-2025 by the Babel Team.
  12. :license: BSD, see LICENSE for more details.
  13. """
  14. from babel.core import (
  15. Locale,
  16. UnknownLocaleError,
  17. default_locale,
  18. get_locale_identifier,
  19. negotiate_locale,
  20. parse_locale,
  21. )
  22. __version__ = '2.17.0'
  23. __all__ = [
  24. 'Locale',
  25. 'UnknownLocaleError',
  26. '__version__',
  27. 'default_locale',
  28. 'get_locale_identifier',
  29. 'negotiate_locale',
  30. 'parse_locale',
  31. ]