Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/babel/__init__.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

3 statements  

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-2024 by the Babel Team. 

16 :license: BSD, see LICENSE for more details. 

17""" 

18 

19from 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.15.0' 

29 

30__all__ = [ 

31 'Locale', 

32 'UnknownLocaleError', 

33 'default_locale', 

34 'get_locale_identifier', 

35 'negotiate_locale', 

36 'parse_locale', 

37]