Debian Codegraph @

babel/__init__.py

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