content
stringlengths
1
103k
path
stringlengths
8
216
filename
stringlengths
2
179
language
stringclasses
15 values
size_bytes
int64
2
189k
quality_score
float64
0.5
0.95
complexity
float64
0
1
documentation_ratio
float64
0
1
repository
stringclasses
5 values
stars
int64
0
1k
created_date
stringdate
2023-07-10 19:21:08
2025-07-09 19:11:45
license
stringclasses
4 values
is_test
bool
2 classes
file_hash
stringlengths
32
32
"""\n babel.localedata\n ~~~~~~~~~~~~~~~~\n\n Low-level locale data access.\n\n :note: The `Locale` class, which uses this module under the hood, provides a\n more convenient interface for accessing the locale data.\n\n :copyright: (c) 2013-2025 by the Babel Team.\n :license: BSD, see LICENSE for more details.\n"""\n\nfrom __future__ import annotations\n\nimport os\nimport pickle\nimport re\nimport sys\nimport threading\nfrom collections import abc\nfrom collections.abc import Iterator, Mapping, MutableMapping\nfrom functools import lru_cache\nfrom itertools import chain\nfrom typing import Any\n\n_cache: dict[str, Any] = {}\n_cache_lock = threading.RLock()\n_dirname = os.path.join(os.path.dirname(__file__), 'locale-data')\n_windows_reserved_name_re = re.compile("^(con|prn|aux|nul|com[0-9]|lpt[0-9])$", re.I)\n\n\ndef normalize_locale(name: str) -> str | None:\n """Normalize a locale ID by stripping spaces and apply proper casing.\n\n Returns the normalized locale ID string or `None` if the ID is not\n recognized.\n """\n if not name or not isinstance(name, str):\n return None\n name = name.strip().lower()\n for locale_id in chain.from_iterable([_cache, locale_identifiers()]):\n if name == locale_id.lower():\n return locale_id\n\n\ndef resolve_locale_filename(name: os.PathLike[str] | str) -> str:\n """\n Resolve a locale identifier to a `.dat` path on disk.\n """\n\n # Clean up any possible relative paths.\n name = os.path.basename(name)\n\n # Ensure we're not left with one of the Windows reserved names.\n if sys.platform == "win32" and _windows_reserved_name_re.match(os.path.splitext(name)[0]):\n raise ValueError(f"Name {name} is invalid on Windows")\n\n # Build the path.\n return os.path.join(_dirname, f"{name}.dat")\n\n\ndef exists(name: str) -> bool:\n """Check whether locale data is available for the given locale.\n\n Returns `True` if it exists, `False` otherwise.\n\n :param name: the locale identifier string\n """\n if not name or not isinstance(name, str):\n return False\n if name in _cache:\n return True\n file_found = os.path.exists(resolve_locale_filename(name))\n return True if file_found else bool(normalize_locale(name))\n\n\n@lru_cache(maxsize=None)\ndef locale_identifiers() -> list[str]:\n """Return a list of all locale identifiers for which locale data is\n available.\n\n This data is cached after the first invocation.\n You can clear the cache by calling `locale_identifiers.cache_clear()`.\n\n .. versionadded:: 0.8.1\n\n :return: a list of locale identifiers (strings)\n """\n return [\n stem\n for stem, extension in\n (os.path.splitext(filename) for filename in os.listdir(_dirname))\n if extension == '.dat' and stem != 'root'\n ]\n\n\ndef _is_non_likely_script(name: str) -> bool:\n """Return whether the locale is of the form ``lang_Script``,\n and the script is not the likely script for the language.\n\n This implements the behavior of the ``nonlikelyScript`` value of the\n ``localRules`` attribute for parent locales added in CLDR 45.\n """\n from babel.core import get_global, parse_locale\n\n try:\n lang, territory, script, variant, *rest = parse_locale(name)\n except ValueError:\n return False\n\n if lang and script and not territory and not variant and not rest:\n likely_subtag = get_global('likely_subtags').get(lang)\n _, _, likely_script, *_ = parse_locale(likely_subtag)\n return script != likely_script\n return False\n\n\ndef load(name: os.PathLike[str] | str, merge_inherited: bool = True) -> dict[str, Any]:\n """Load the locale data for the given locale.\n\n The locale data is a dictionary that contains much of the data defined by\n the Common Locale Data Repository (CLDR). This data is stored as a\n collection of pickle files inside the ``babel`` package.\n\n >>> d = load('en_US')\n >>> d['languages']['sv']\n u'Swedish'\n\n Note that the results are cached, and subsequent requests for the same\n locale return the same dictionary:\n\n >>> d1 = load('en_US')\n >>> d2 = load('en_US')\n >>> d1 is d2\n True\n\n :param name: the locale identifier string (or "root")\n :param merge_inherited: whether the inherited data should be merged into\n the data of the requested locale\n :raise `IOError`: if no locale data file is found for the given locale\n identifier, or one of the locales it inherits from\n """\n name = os.path.basename(name)\n _cache_lock.acquire()\n try:\n data = _cache.get(name)\n if not data:\n # Load inherited data\n if name == 'root' or not merge_inherited:\n data = {}\n else:\n from babel.core import get_global\n parent = get_global('parent_exceptions').get(name)\n if not parent:\n if _is_non_likely_script(name):\n parent = 'root'\n else:\n parts = name.split('_')\n parent = "root" if len(parts) == 1 else "_".join(parts[:-1])\n data = load(parent).copy()\n filename = resolve_locale_filename(name)\n with open(filename, 'rb') as fileobj:\n if name != 'root' and merge_inherited:\n merge(data, pickle.load(fileobj))\n else:\n data = pickle.load(fileobj)\n _cache[name] = data\n return data\n finally:\n _cache_lock.release()\n\n\ndef merge(dict1: MutableMapping[Any, Any], dict2: Mapping[Any, Any]) -> None:\n """Merge the data from `dict2` into the `dict1` dictionary, making copies\n of nested dictionaries.\n\n >>> d = {1: 'foo', 3: 'baz'}\n >>> merge(d, {1: 'Foo', 2: 'Bar'})\n >>> sorted(d.items())\n [(1, 'Foo'), (2, 'Bar'), (3, 'baz')]\n\n :param dict1: the dictionary to merge into\n :param dict2: the dictionary containing the data that should be merged\n """\n for key, val2 in dict2.items():\n if val2 is not None:\n val1 = dict1.get(key)\n if isinstance(val2, dict):\n if val1 is None:\n val1 = {}\n if isinstance(val1, Alias):\n val1 = (val1, val2)\n elif isinstance(val1, tuple):\n alias, others = val1\n others = others.copy()\n merge(others, val2)\n val1 = (alias, others)\n else:\n val1 = val1.copy()\n merge(val1, val2)\n else:\n val1 = val2\n dict1[key] = val1\n\n\nclass Alias:\n """Representation of an alias in the locale data.\n\n An alias is a value that refers to some other part of the locale data,\n as specified by the `keys`.\n """\n\n def __init__(self, keys: tuple[str, ...]) -> None:\n self.keys = tuple(keys)\n\n def __repr__(self) -> str:\n return f"<{type(self).__name__} {self.keys!r}>"\n\n def resolve(self, data: Mapping[str | int | None, Any]) -> Mapping[str | int | None, Any]:\n """Resolve the alias based on the given data.\n\n This is done recursively, so if one alias resolves to a second alias,\n that second alias will also be resolved.\n\n :param data: the locale data\n :type data: `dict`\n """\n base = data\n for key in self.keys:\n data = data[key]\n if isinstance(data, Alias):\n data = data.resolve(base)\n elif isinstance(data, tuple):\n alias, others = data\n data = alias.resolve(base)\n return data\n\n\nclass LocaleDataDict(abc.MutableMapping):\n """Dictionary wrapper that automatically resolves aliases to the actual\n values.\n """\n\n def __init__(self, data: MutableMapping[str | int | None, Any], base: Mapping[str | int | None, Any] | None = None):\n self._data = data\n if base is None:\n base = data\n self.base = base\n\n def __len__(self) -> int:\n return len(self._data)\n\n def __iter__(self) -> Iterator[str | int | None]:\n return iter(self._data)\n\n def __getitem__(self, key: str | int | None) -> Any:\n orig = val = self._data[key]\n if isinstance(val, Alias): # resolve an alias\n val = val.resolve(self.base)\n if isinstance(val, tuple): # Merge a partial dict with an alias\n alias, others = val\n val = alias.resolve(self.base).copy()\n merge(val, others)\n if isinstance(val, dict): # Return a nested alias-resolving dict\n val = LocaleDataDict(val, base=self.base)\n if val is not orig:\n self._data[key] = val\n return val\n\n def __setitem__(self, key: str | int | None, value: Any) -> None:\n self._data[key] = value\n\n def __delitem__(self, key: str | int | None) -> None:\n del self._data[key]\n\n def copy(self) -> LocaleDataDict:\n return LocaleDataDict(self._data.copy(), base=self.base)\n
.venv\Lib\site-packages\babel\localedata.py
localedata.py
Python
9,116
0.95
0.230216
0.018018
python-kit
909
2023-08-26T23:08:08.757332
MIT
false
52b5d92fec48bd3f4ece8fa3a30a3ff0
# Marker file for PEP 561. This package uses inline types.\n
.venv\Lib\site-packages\babel\py.typed
py.typed
Other
59
0.6
1
1
awesome-app
802
2025-06-02T03:45:42.787517
BSD-3-Clause
false
d7e6de4a453513f169c258930f2f709e
from __future__ import annotations\n\nimport decimal\nfrom typing import Literal\n\nfrom babel.core import Locale\nfrom babel.numbers import LC_NUMERIC, format_decimal\n\n\nclass UnknownUnitError(ValueError):\n def __init__(self, unit: str, locale: Locale) -> None:\n ValueError.__init__(self, f"{unit} is not a known unit in {locale}")\n\n\ndef get_unit_name(\n measurement_unit: str,\n length: Literal['short', 'long', 'narrow'] = 'long',\n locale: Locale | str | None = None,\n) -> str | None:\n """\n Get the display name for a measurement unit in the given locale.\n\n >>> get_unit_name("radian", locale="en")\n 'radians'\n\n Unknown units will raise exceptions:\n\n >>> get_unit_name("battery", locale="fi")\n Traceback (most recent call last):\n ...\n UnknownUnitError: battery/long is not a known unit/length in fi\n\n :param measurement_unit: the code of a measurement unit.\n Known units can be found in the CLDR Unit Validity XML file:\n https://unicode.org/repos/cldr/tags/latest/common/validity/unit.xml\n\n :param length: "short", "long" or "narrow"\n :param locale: the `Locale` object or locale identifier. Defaults to the system numeric locale.\n :return: The unit display name, or None.\n """\n locale = Locale.parse(locale or LC_NUMERIC)\n unit = _find_unit_pattern(measurement_unit, locale=locale)\n if not unit:\n raise UnknownUnitError(unit=measurement_unit, locale=locale)\n return locale.unit_display_names.get(unit, {}).get(length)\n\n\ndef _find_unit_pattern(unit_id: str, locale: Locale | str | None = None) -> str | None:\n """\n Expand a unit into a qualified form.\n\n Known units can be found in the CLDR Unit Validity XML file:\n https://unicode.org/repos/cldr/tags/latest/common/validity/unit.xml\n\n >>> _find_unit_pattern("radian", locale="en")\n 'angle-radian'\n\n Unknown values will return None.\n\n >>> _find_unit_pattern("horse", locale="en")\n\n :param unit_id: the code of a measurement unit.\n :return: A key to the `unit_patterns` mapping, or None.\n """\n locale = Locale.parse(locale or LC_NUMERIC)\n unit_patterns: dict[str, str] = locale._data["unit_patterns"]\n if unit_id in unit_patterns:\n return unit_id\n for unit_pattern in sorted(unit_patterns, key=len):\n if unit_pattern.endswith(unit_id):\n return unit_pattern\n return None\n\n\ndef format_unit(\n value: str | float | decimal.Decimal,\n measurement_unit: str,\n length: Literal['short', 'long', 'narrow'] = 'long',\n format: str | None = None,\n locale: Locale | str | None = None,\n *,\n numbering_system: Literal["default"] | str = "latn",\n) -> str:\n """Format a value of a given unit.\n\n Values are formatted according to the locale's usual pluralization rules\n and number formats.\n\n >>> format_unit(12, 'length-meter', locale='ro_RO')\n u'12 metri'\n >>> format_unit(15.5, 'length-mile', locale='fi_FI')\n u'15,5 mailia'\n >>> format_unit(1200, 'pressure-millimeter-ofhg', locale='nb')\n u'1\\xa0200 millimeter kvikks\\xf8lv'\n >>> format_unit(270, 'ton', locale='en')\n u'270 tons'\n >>> format_unit(1234.5, 'kilogram', locale='ar_EG', numbering_system='default')\n u'1٬234٫5 كيلوغرام'\n\n Number formats may be overridden with the ``format`` parameter.\n\n >>> import decimal\n >>> format_unit(decimal.Decimal("-42.774"), 'temperature-celsius', 'short', format='#.0', locale='fr')\n u'-42,8\\u202f\\xb0C'\n\n The locale's usual pluralization rules are respected.\n\n >>> format_unit(1, 'length-meter', locale='ro_RO')\n u'1 metru'\n >>> format_unit(0, 'length-mile', locale='cy')\n u'0 mi'\n >>> format_unit(1, 'length-mile', locale='cy')\n u'1 filltir'\n >>> format_unit(3, 'length-mile', locale='cy')\n u'3 milltir'\n\n >>> format_unit(15, 'length-horse', locale='fi')\n Traceback (most recent call last):\n ...\n UnknownUnitError: length-horse is not a known unit in fi\n\n .. versionadded:: 2.2.0\n\n :param value: the value to format. If this is a string, no number formatting will be attempted.\n :param measurement_unit: the code of a measurement unit.\n Known units can be found in the CLDR Unit Validity XML file:\n https://unicode.org/repos/cldr/tags/latest/common/validity/unit.xml\n :param length: "short", "long" or "narrow"\n :param format: An optional format, as accepted by `format_decimal`.\n :param locale: the `Locale` object or locale identifier. Defaults to the system numeric locale.\n :param numbering_system: The numbering system used for formatting number symbols. Defaults to "latn".\n The special value "default" will use the default numbering system of the locale.\n :raise `UnsupportedNumberingSystemError`: If the numbering system is not supported by the locale.\n """\n locale = Locale.parse(locale or LC_NUMERIC)\n\n q_unit = _find_unit_pattern(measurement_unit, locale=locale)\n if not q_unit:\n raise UnknownUnitError(unit=measurement_unit, locale=locale)\n unit_patterns = locale._data["unit_patterns"][q_unit].get(length, {})\n\n if isinstance(value, str): # Assume the value is a preformatted singular.\n formatted_value = value\n plural_form = "one"\n else:\n formatted_value = format_decimal(value, format, locale, numbering_system=numbering_system)\n plural_form = locale.plural_form(value)\n\n if plural_form in unit_patterns:\n return unit_patterns[plural_form].format(formatted_value)\n\n # Fall back to a somewhat bad representation.\n # nb: This is marked as no-cover, as the current CLDR seemingly has no way for this to happen.\n fallback_name = get_unit_name(measurement_unit, length=length, locale=locale) # pragma: no cover\n return f"{formatted_value} {fallback_name or measurement_unit}" # pragma: no cover\n\n\ndef _find_compound_unit(\n numerator_unit: str,\n denominator_unit: str,\n locale: Locale | str | None = None,\n) -> str | None:\n """\n Find a predefined compound unit pattern.\n\n Used internally by format_compound_unit.\n\n >>> _find_compound_unit("kilometer", "hour", locale="en")\n 'speed-kilometer-per-hour'\n\n >>> _find_compound_unit("mile", "gallon", locale="en")\n 'consumption-mile-per-gallon'\n\n If no predefined compound pattern can be found, `None` is returned.\n\n >>> _find_compound_unit("gallon", "mile", locale="en")\n\n >>> _find_compound_unit("horse", "purple", locale="en")\n\n :param numerator_unit: The numerator unit's identifier\n :param denominator_unit: The denominator unit's identifier\n :param locale: the `Locale` object or locale identifier. Defaults to the system numeric locale.\n :return: A key to the `unit_patterns` mapping, or None.\n :rtype: str|None\n """\n locale = Locale.parse(locale or LC_NUMERIC)\n\n # Qualify the numerator and denominator units. This will turn possibly partial\n # units like "kilometer" or "hour" into actual units like "length-kilometer" and\n # "duration-hour".\n\n resolved_numerator_unit = _find_unit_pattern(numerator_unit, locale=locale)\n resolved_denominator_unit = _find_unit_pattern(denominator_unit, locale=locale)\n\n # If either was not found, we can't possibly build a suitable compound unit either.\n if not (resolved_numerator_unit and resolved_denominator_unit):\n return None\n\n # Since compound units are named "speed-kilometer-per-hour", we'll have to slice off\n # the quantities (i.e. "length", "duration") from both qualified units.\n\n bare_numerator_unit = resolved_numerator_unit.split("-", 1)[-1]\n bare_denominator_unit = resolved_denominator_unit.split("-", 1)[-1]\n\n # Now we can try and rebuild a compound unit specifier, then qualify it:\n\n return _find_unit_pattern(f"{bare_numerator_unit}-per-{bare_denominator_unit}", locale=locale)\n\n\ndef format_compound_unit(\n numerator_value: str | float | decimal.Decimal,\n numerator_unit: str | None = None,\n denominator_value: str | float | decimal.Decimal = 1,\n denominator_unit: str | None = None,\n length: Literal["short", "long", "narrow"] = "long",\n format: str | None = None,\n locale: Locale | str | None = None,\n *,\n numbering_system: Literal["default"] | str = "latn",\n) -> str | None:\n """\n Format a compound number value, i.e. "kilometers per hour" or similar.\n\n Both unit specifiers are optional to allow for formatting of arbitrary values still according\n to the locale's general "per" formatting specifier.\n\n >>> format_compound_unit(7, denominator_value=11, length="short", locale="pt")\n '7/11'\n\n >>> format_compound_unit(150, "kilometer", denominator_unit="hour", locale="sv")\n '150 kilometer per timme'\n\n >>> format_compound_unit(150, "kilowatt", denominator_unit="year", locale="fi")\n '150 kilowattia / vuosi'\n\n >>> format_compound_unit(32.5, "ton", 15, denominator_unit="hour", locale="en")\n '32.5 tons per 15 hours'\n\n >>> format_compound_unit(1234.5, "ton", 15, denominator_unit="hour", locale="ar_EG", numbering_system="arab")\n '1٬234٫5 طن لكل 15 ساعة'\n\n >>> format_compound_unit(160, denominator_unit="square-meter", locale="fr")\n '160 par m\\xe8tre carr\\xe9'\n\n >>> format_compound_unit(4, "meter", "ratakisko", length="short", locale="fi")\n '4 m/ratakisko'\n\n >>> format_compound_unit(35, "minute", denominator_unit="nautical-mile", locale="sv")\n '35 minuter per nautisk mil'\n\n >>> from babel.numbers import format_currency\n >>> format_compound_unit(format_currency(35, "JPY", locale="de"), denominator_unit="liter", locale="de")\n '35\\xa0\\xa5 pro Liter'\n\n See https://www.unicode.org/reports/tr35/tr35-general.html#perUnitPatterns\n\n :param numerator_value: The numerator value. This may be a string,\n in which case it is considered preformatted and the unit is ignored.\n :param numerator_unit: The numerator unit. See `format_unit`.\n :param denominator_value: The denominator value. This may be a string,\n in which case it is considered preformatted and the unit is ignored.\n :param denominator_unit: The denominator unit. See `format_unit`.\n :param length: The formatting length. "short", "long" or "narrow"\n :param format: An optional format, as accepted by `format_decimal`.\n :param locale: the `Locale` object or locale identifier. Defaults to the system numeric locale.\n :param numbering_system: The numbering system used for formatting number symbols. Defaults to "latn".\n The special value "default" will use the default numbering system of the locale.\n :return: A formatted compound value.\n :raise `UnsupportedNumberingSystemError`: If the numbering system is not supported by the locale.\n """\n locale = Locale.parse(locale or LC_NUMERIC)\n\n # Look for a specific compound unit first...\n\n if numerator_unit and denominator_unit and denominator_value == 1:\n compound_unit = _find_compound_unit(numerator_unit, denominator_unit, locale=locale)\n if compound_unit:\n return format_unit(\n numerator_value,\n compound_unit,\n length=length,\n format=format,\n locale=locale,\n numbering_system=numbering_system,\n )\n\n # ... failing that, construct one "by hand".\n\n if isinstance(numerator_value, str): # Numerator is preformatted\n formatted_numerator = numerator_value\n elif numerator_unit: # Numerator has unit\n formatted_numerator = format_unit(\n numerator_value,\n numerator_unit,\n length=length,\n format=format,\n locale=locale,\n numbering_system=numbering_system,\n )\n else: # Unitless numerator\n formatted_numerator = format_decimal(\n numerator_value,\n format=format,\n locale=locale,\n numbering_system=numbering_system,\n )\n\n if isinstance(denominator_value, str): # Denominator is preformatted\n formatted_denominator = denominator_value\n elif denominator_unit: # Denominator has unit\n if denominator_value == 1: # support perUnitPatterns when the denominator is 1\n denominator_unit = _find_unit_pattern(denominator_unit, locale=locale)\n per_pattern = locale._data["unit_patterns"].get(denominator_unit, {}).get(length, {}).get("per")\n if per_pattern:\n return per_pattern.format(formatted_numerator)\n # See TR-35's per-unit pattern algorithm, point 3.2.\n # For denominator 1, we replace the value to be formatted with the empty string;\n # this will make `format_unit` return " second" instead of "1 second".\n denominator_value = ""\n\n formatted_denominator = format_unit(\n denominator_value,\n measurement_unit=(denominator_unit or ""),\n length=length,\n format=format,\n locale=locale,\n numbering_system=numbering_system,\n ).strip()\n else: # Bare denominator\n formatted_denominator = format_decimal(\n denominator_value,\n format=format,\n locale=locale,\n numbering_system=numbering_system,\n )\n\n # TODO: this doesn't support "compound_variations" (or "prefix"), and will fall back to the "x/y" representation\n per_pattern = locale._data["compound_unit_patterns"].get("per", {}).get(length, {}).get("compound", "{0}/{1}")\n\n return per_pattern.format(formatted_numerator, formatted_denominator)\n
.venv\Lib\site-packages\babel\units.py
units.py
Python
13,753
0.95
0.082353
0.063197
vue-tools
464
2024-09-13T09:08:53.270907
GPL-3.0
false
af5a0f82ebae0ae93814042460a17480
"""\n babel.util\n ~~~~~~~~~~\n\n Various utility classes and functions.\n\n :copyright: (c) 2013-2025 by the Babel Team.\n :license: BSD, see LICENSE for more details.\n"""\nfrom __future__ import annotations\n\nimport codecs\nimport datetime\nimport os\nimport re\nimport textwrap\nimport warnings\nfrom collections.abc import Generator, Iterable\nfrom typing import IO, Any, TypeVar\n\nfrom babel import dates, localtime\n\nmissing = object()\n\n_T = TypeVar("_T")\n\n\ndef distinct(iterable: Iterable[_T]) -> Generator[_T, None, None]:\n """Yield all items in an iterable collection that are distinct.\n\n Unlike when using sets for a similar effect, the original ordering of the\n items in the collection is preserved by this function.\n\n >>> print(list(distinct([1, 2, 1, 3, 4, 4])))\n [1, 2, 3, 4]\n >>> print(list(distinct('foobar')))\n ['f', 'o', 'b', 'a', 'r']\n\n :param iterable: the iterable collection providing the data\n """\n seen = set()\n for item in iter(iterable):\n if item not in seen:\n yield item\n seen.add(item)\n\n\n# Regexp to match python magic encoding line\nPYTHON_MAGIC_COMMENT_re = re.compile(\n br'[ \t\f]* \# .* coding[=:][ \t]*([-\w.]+)', re.VERBOSE)\n\n\ndef parse_encoding(fp: IO[bytes]) -> str | None:\n """Deduce the encoding of a source file from magic comment.\n\n It does this in the same way as the `Python interpreter`__\n\n .. __: https://docs.python.org/3.4/reference/lexical_analysis.html#encoding-declarations\n\n The ``fp`` argument should be a seekable file object.\n\n (From Jeff Dairiki)\n """\n pos = fp.tell()\n fp.seek(0)\n try:\n line1 = fp.readline()\n has_bom = line1.startswith(codecs.BOM_UTF8)\n if has_bom:\n line1 = line1[len(codecs.BOM_UTF8):]\n\n m = PYTHON_MAGIC_COMMENT_re.match(line1)\n if not m:\n try:\n import ast\n ast.parse(line1.decode('latin-1'))\n except (ImportError, SyntaxError, UnicodeEncodeError):\n # Either it's a real syntax error, in which case the source is\n # not valid python source, or line2 is a continuation of line1,\n # in which case we don't want to scan line2 for a magic\n # comment.\n pass\n else:\n line2 = fp.readline()\n m = PYTHON_MAGIC_COMMENT_re.match(line2)\n\n if has_bom:\n if m:\n magic_comment_encoding = m.group(1).decode('latin-1')\n if magic_comment_encoding != 'utf-8':\n raise SyntaxError(f"encoding problem: {magic_comment_encoding} with BOM")\n return 'utf-8'\n elif m:\n return m.group(1).decode('latin-1')\n else:\n return None\n finally:\n fp.seek(pos)\n\n\nPYTHON_FUTURE_IMPORT_re = re.compile(\n r'from\s+__future__\s+import\s+\(*(.+)\)*')\n\n\ndef parse_future_flags(fp: IO[bytes], encoding: str = 'latin-1') -> int:\n """Parse the compiler flags by :mod:`__future__` from the given Python\n code.\n """\n import __future__\n pos = fp.tell()\n fp.seek(0)\n flags = 0\n try:\n body = fp.read().decode(encoding)\n\n # Fix up the source to be (hopefully) parsable by regexpen.\n # This will likely do untoward things if the source code itself is broken.\n\n # (1) Fix `import (\n...` to be `import (...`.\n body = re.sub(r'import\s*\([\r\n]+', 'import (', body)\n # (2) Join line-ending commas with the next line.\n body = re.sub(r',\s*[\r\n]+', ', ', body)\n # (3) Remove backslash line continuations.\n body = re.sub(r'\\\s*[\r\n]+', ' ', body)\n\n for m in PYTHON_FUTURE_IMPORT_re.finditer(body):\n names = [x.strip().strip('()') for x in m.group(1).split(',')]\n for name in names:\n feature = getattr(__future__, name, None)\n if feature:\n flags |= feature.compiler_flag\n finally:\n fp.seek(pos)\n return flags\n\n\ndef pathmatch(pattern: str, filename: str) -> bool:\n """Extended pathname pattern matching.\n\n This function is similar to what is provided by the ``fnmatch`` module in\n the Python standard library, but:\n\n * can match complete (relative or absolute) path names, and not just file\n names, and\n * also supports a convenience pattern ("**") to match files at any\n directory level.\n\n Examples:\n\n >>> pathmatch('**.py', 'bar.py')\n True\n >>> pathmatch('**.py', 'foo/bar/baz.py')\n True\n >>> pathmatch('**.py', 'templates/index.html')\n False\n\n >>> pathmatch('./foo/**.py', 'foo/bar/baz.py')\n True\n >>> pathmatch('./foo/**.py', 'bar/baz.py')\n False\n\n >>> pathmatch('^foo/**.py', 'foo/bar/baz.py')\n True\n >>> pathmatch('^foo/**.py', 'bar/baz.py')\n False\n\n >>> pathmatch('**/templates/*.html', 'templates/index.html')\n True\n >>> pathmatch('**/templates/*.html', 'templates/foo/bar.html')\n False\n\n :param pattern: the glob pattern\n :param filename: the path name of the file to match against\n """\n symbols = {\n '?': '[^/]',\n '?/': '[^/]/',\n '*': '[^/]+',\n '*/': '[^/]+/',\n '**/': '(?:.+/)*?',\n '**': '(?:.+/)*?[^/]+',\n }\n\n if pattern.startswith('^'):\n buf = ['^']\n pattern = pattern[1:]\n elif pattern.startswith('./'):\n buf = ['^']\n pattern = pattern[2:]\n else:\n buf = []\n\n for idx, part in enumerate(re.split('([?*]+/?)', pattern)):\n if idx % 2:\n buf.append(symbols[part])\n elif part:\n buf.append(re.escape(part))\n match = re.match(f"{''.join(buf)}$", filename.replace(os.sep, "/"))\n return match is not None\n\n\nclass TextWrapper(textwrap.TextWrapper):\n wordsep_re = re.compile(\n r'(\s+|' # any whitespace\n r'(?<=[\w\!\"\'\&\.\,\?])-{2,}(?=\w))', # em-dash\n )\n\n # e.g. '\u2068foo bar.py\u2069:42'\n _enclosed_filename_re = re.compile(r'(\u2068[^\u2068]+?\u2069(?::-?\d+)?)')\n\n def _split(self, text):\n """Splits the text into indivisible chunks while ensuring that file names\n containing spaces are not broken up.\n """\n enclosed_filename_start = '\u2068'\n if enclosed_filename_start not in text:\n # There are no file names which contain spaces, fallback to the default implementation\n return super()._split(text)\n\n chunks = []\n for chunk in re.split(self._enclosed_filename_re, text):\n if chunk.startswith(enclosed_filename_start):\n chunks.append(chunk)\n else:\n chunks.extend(super()._split(chunk))\n return [c for c in chunks if c]\n\n\ndef wraptext(text: str, width: int = 70, initial_indent: str = '', subsequent_indent: str = '') -> list[str]:\n """Simple wrapper around the ``textwrap.wrap`` function in the standard\n library. This version does not wrap lines on hyphens in words. It also\n does not wrap PO file locations containing spaces.\n\n :param text: the text to wrap\n :param width: the maximum line width\n :param initial_indent: string that will be prepended to the first line of\n wrapped output\n :param subsequent_indent: string that will be prepended to all lines save\n the first of wrapped output\n """\n warnings.warn(\n "`babel.util.wraptext` is deprecated and will be removed in a future version of Babel. "\n "If you need this functionality, use the `babel.util.TextWrapper` class directly.",\n DeprecationWarning,\n stacklevel=2,\n )\n wrapper = TextWrapper(width=width, initial_indent=initial_indent,\n subsequent_indent=subsequent_indent,\n break_long_words=False)\n return wrapper.wrap(text)\n\n\n# TODO (Babel 3.x): Remove this re-export\nodict = dict\n\n\nclass FixedOffsetTimezone(datetime.tzinfo):\n """Fixed offset in minutes east from UTC."""\n\n def __init__(self, offset: float, name: str | None = None) -> None:\n\n self._offset = datetime.timedelta(minutes=offset)\n if name is None:\n name = 'Etc/GMT%+d' % offset\n self.zone = name\n\n def __str__(self) -> str:\n return self.zone\n\n def __repr__(self) -> str:\n return f'<FixedOffset "{self.zone}" {self._offset}>'\n\n def utcoffset(self, dt: datetime.datetime) -> datetime.timedelta:\n return self._offset\n\n def tzname(self, dt: datetime.datetime) -> str:\n return self.zone\n\n def dst(self, dt: datetime.datetime) -> datetime.timedelta:\n return ZERO\n\n\n# Export the localtime functionality here because that's\n# where it was in the past.\n# TODO(3.0): remove these aliases\nUTC = dates.UTC\nLOCALTZ = dates.LOCALTZ\nget_localzone = localtime.get_localzone\nSTDOFFSET = localtime.STDOFFSET\nDSTOFFSET = localtime.DSTOFFSET\nDSTDIFF = localtime.DSTDIFF\nZERO = localtime.ZERO\n\n\ndef _cmp(a: Any, b: Any):\n return (a > b) - (a < b)\n
.venv\Lib\site-packages\babel\util.py
util.py
Python
9,071
0.95
0.158784
0.077253
awesome-app
832
2025-04-23T11:53:24.849787
GPL-3.0
false
75db1df673a23038e4d1be4d3e2d9b27
"""\n babel\n ~~~~~\n\n Integrated collection of utilities that assist in internationalizing and\n localizing applications.\n\n This package is basically composed of two major parts:\n\n * tools to build and work with ``gettext`` message catalogs\n * a Python interface to the CLDR (Common Locale Data Repository), providing\n access to various locale display names, localized number and date\n formatting, etc.\n\n :copyright: (c) 2013-2025 by the Babel Team.\n :license: BSD, see LICENSE for more details.\n"""\n\nfrom babel.core import (\n Locale,\n UnknownLocaleError,\n default_locale,\n get_locale_identifier,\n negotiate_locale,\n parse_locale,\n)\n\n__version__ = '2.17.0'\n\n__all__ = [\n 'Locale',\n 'UnknownLocaleError',\n '__version__',\n 'default_locale',\n 'get_locale_identifier',\n 'negotiate_locale',\n 'parse_locale',\n]\n
.venv\Lib\site-packages\babel\__init__.py
__init__.py
Python
882
0.85
0.026316
0.064516
vue-tools
494
2025-03-24T02:26:22.109716
Apache-2.0
false
8516bc903ca8a0176678ff666b38b9cd
}q
.venv\Lib\site-packages\babel\locale-data\aa.dat
aa.dat
Other
2,795
0.8
0
0
node-utils
981
2025-04-29T08:34:15.362056
MIT
false
9049f5341561c91661ff9d7a9c3bc28a
}q
.venv\Lib\site-packages\babel\locale-data\aa_DJ.dat
aa_DJ.dat
Other
1,112
0.8
0
0
awesome-app
297
2025-03-03T04:15:41.194834
GPL-3.0
false
a894b172bd8086fe65929306cff2c232
}q
.venv\Lib\site-packages\babel\locale-data\aa_ER.dat
aa_ER.dat
Other
637
0.8
0
0
awesome-app
518
2025-03-16T14:44:09.369987
BSD-3-Clause
false
da2975895a7907debf08cefc8aa1f351
}q
.venv\Lib\site-packages\babel\locale-data\aa_ET.dat
aa_ET.dat
Other
635
0.8
0
0
awesome-app
740
2023-08-02T07:57:24.014995
GPL-3.0
false
1bc45d6c3e9c161186e1b2215abbe03f
}q
.venv\Lib\site-packages\babel\locale-data\ab.dat
ab.dat
Other
95,311
0.6
0.001183
0
awesome-app
280
2023-10-07T08:16:47.248756
MIT
false
b9c5cab051b09924637d88659a1cf899
}q
.venv\Lib\site-packages\babel\locale-data\ab_GE.dat
ab_GE.dat
Other
635
0.8
0
0
vue-tools
984
2023-07-28T03:51:00.788517
Apache-2.0
false
be51e8dd0ae4665071d9c64faeea43cc
}q
.venv\Lib\site-packages\babel\locale-data\af_NA.dat
af_NA.dat
Other
1,450
0.8
0
0
vue-tools
46
2023-12-12T14:34:13.177580
GPL-3.0
false
ca79fc9f162cb8399c740f8eda3a6199
}q
.venv\Lib\site-packages\babel\locale-data\af_ZA.dat
af_ZA.dat
Other
635
0.8
0
0
awesome-app
227
2025-01-18T10:33:14.937576
BSD-3-Clause
false
9c6e075fc79ab4b022c679683bc1a795
}q
.venv\Lib\site-packages\babel\locale-data\agq.dat
agq.dat
Other
16,628
0.8
0
0
vue-tools
724
2025-04-11T11:21:22.626314
GPL-3.0
false
f8de6b609f1a445029c2dfc5d0f3d857
}q
.venv\Lib\site-packages\babel\locale-data\agq_CM.dat
agq_CM.dat
Other
636
0.8
0
0
react-lib
483
2024-03-15T03:46:00.176204
BSD-3-Clause
false
a370debdb2cddeff5a3852740fa2bdcf
}q
.venv\Lib\site-packages\babel\locale-data\ak_GH.dat
ak_GH.dat
Other
616
0.8
0
0
python-kit
1,000
2023-12-27T17:55:16.908758
MIT
false
a6f085673d3b97f27bd258752261fefd
}q
.venv\Lib\site-packages\babel\locale-data\am_ET.dat
am_ET.dat
Other
635
0.8
0
0
python-kit
124
2024-06-09T08:42:58.092091
GPL-3.0
false
fc89be66f03eaf44f8891eecf3bb2e2d
}q
.venv\Lib\site-packages\babel\locale-data\an.dat
an.dat
Other
28,050
0.8
0
0
node-utils
231
2024-01-11T06:21:24.863693
BSD-3-Clause
false
3a0afc17dbbd58dfd93effcfe5ca64b9
}q
.venv\Lib\site-packages\babel\locale-data\ann.dat
ann.dat
Other
737
0.8
0
0
node-utils
520
2024-11-15T03:58:35.826114
Apache-2.0
false
941423590965d16a98b9529cd94cfea8
}q
.venv\Lib\site-packages\babel\locale-data\ann_NG.dat
ann_NG.dat
Other
617
0.8
0
0
python-kit
127
2025-01-24T21:54:45.544461
Apache-2.0
false
86c077a7b0fae55ce6f82f3c7b4f93ca
}q
.venv\Lib\site-packages\babel\locale-data\an_ES.dat
an_ES.dat
Other
653
0.8
0
0
vue-tools
498
2024-09-08T02:48:39.063461
MIT
false
5f945ce77e28f93434d5cd778e419ff4
}q
.venv\Lib\site-packages\babel\locale-data\apc.dat
apc.dat
Other
1,564
0.8
0
0
python-kit
244
2025-07-09T16:06:27.268488
Apache-2.0
false
d17f50c1fdbde14301d8fe013a0560d1
}q
.venv\Lib\site-packages\babel\locale-data\apc_SY.dat
apc_SY.dat
Other
679
0.8
0
0
awesome-app
105
2024-11-07T02:30:24.657098
Apache-2.0
false
e8525fb1df800cc2507bc7749cf5b21a
}q
.venv\Lib\site-packages\babel\locale-data\arn.dat
arn.dat
Other
721
0.8
0
0
awesome-app
971
2023-10-22T11:47:54.442436
Apache-2.0
false
363da631123b4dc925bb2fd00f0584ec
}q
.venv\Lib\site-packages\babel\locale-data\arn_CL.dat
arn_CL.dat
Other
636
0.8
0
0
python-kit
918
2024-08-23T21:08:08.614883
BSD-3-Clause
false
947dd858a15663d68f8db7e5c3534d9c
}q
.venv\Lib\site-packages\babel\locale-data\ar_001.dat
ar_001.dat
Other
1,707
0.8
0
0
react-lib
717
2023-11-30T18:49:50.551136
GPL-3.0
false
a27087c76001b988df8aa1cfc0b92974
}q
.venv\Lib\site-packages\babel\locale-data\ar_AE.dat
ar_AE.dat
Other
982
0.8
0
0
vue-tools
172
2024-01-11T21:32:00.194624
MIT
false
691ae3c2a19fc7b0f826b7a21ec98cb0
}q
.venv\Lib\site-packages\babel\locale-data\ar_BH.dat
ar_BH.dat
Other
720
0.8
0
0
awesome-app
903
2024-01-23T01:41:33.304602
MIT
false
3e18f34e303d370dc887d4fca084d00b
}q
.venv\Lib\site-packages\babel\locale-data\ar_DJ.dat
ar_DJ.dat
Other
698
0.8
0
0
python-kit
48
2024-08-14T06:11:48.027001
BSD-3-Clause
false
7f048084648f81025618c7856d515d2c
}q
.venv\Lib\site-packages\babel\locale-data\ar_DZ.dat
ar_DZ.dat
Other
1,263
0.8
0
0
react-lib
421
2025-01-06T19:30:31.258296
MIT
false
ec15b89618f906f99330879d39f92b63
}q
.venv\Lib\site-packages\babel\locale-data\ar_EG.dat
ar_EG.dat
Other
720
0.8
0
0
react-lib
193
2024-02-24T03:04:27.227453
MIT
false
12523f9d378ad95aafb6f2492639964d
}q
.venv\Lib\site-packages\babel\locale-data\ar_EH.dat
ar_EH.dat
Other
658
0.8
0
0
vue-tools
804
2024-07-19T02:23:22.538759
MIT
false
7ffd916f497257522e63173ebf60291b
}q
.venv\Lib\site-packages\babel\locale-data\ar_ER.dat
ar_ER.dat
Other
679
0.8
0
0
react-lib
474
2024-03-06T03:12:12.275141
MIT
false
be955db217d17871c1c893904a0258f0
}q
.venv\Lib\site-packages\babel\locale-data\ar_IL.dat
ar_IL.dat
Other
1,264
0.8
0
0
react-lib
672
2024-08-26T14:33:55.603123
MIT
false
9aaa6b7b4f0a3d63f269eda06a73674a
}q
.venv\Lib\site-packages\babel\locale-data\ar_IQ.dat
ar_IQ.dat
Other
1,975
0.8
0
0
node-utils
797
2024-08-28T04:16:23.362026
BSD-3-Clause
false
4d7a4d7785e456d37c6581b7e89898a3
}q
.venv\Lib\site-packages\babel\locale-data\ar_JO.dat
ar_JO.dat
Other
1,398
0.8
0
0
node-utils
135
2024-06-27T14:52:18.803252
Apache-2.0
false
6c4f226b41ad4397247ced0bbd18defc
}q
.venv\Lib\site-packages\babel\locale-data\ar_KM.dat
ar_KM.dat
Other
1,230
0.8
0
0
awesome-app
726
2024-06-10T01:44:02.832363
MIT
false
c002b1016ceddff0bd9c0fa93a0633fd
}q
.venv\Lib\site-packages\babel\locale-data\ar_KW.dat
ar_KW.dat
Other
720
0.8
0
0
vue-tools
862
2024-11-18T02:55:13.035518
BSD-3-Clause
false
e6c19dbb0084cdaa3677193bddcd4c03
}q
.venv\Lib\site-packages\babel\locale-data\ar_LB.dat
ar_LB.dat
Other
1,414
0.8
0
0
awesome-app
236
2023-09-01T09:29:18.906694
Apache-2.0
false
ccb0ba2b273461ca3024a9d119080e58
}q
.venv\Lib\site-packages\babel\locale-data\ar_LY.dat
ar_LY.dat
Other
1,249
0.8
0
0
awesome-app
716
2023-09-03T04:06:27.832002
MIT
false
c0097f701f3707681fb47bf77cf3a79f
}q
.venv\Lib\site-packages\babel\locale-data\ar_MA.dat
ar_MA.dat
Other
1,559
0.8
0
0
vue-tools
146
2025-05-26T19:27:21.780774
Apache-2.0
false
b0b788f0a5a70e262a1431951cfab299
}q
.venv\Lib\site-packages\babel\locale-data\ar_MR.dat
ar_MR.dat
Other
1,359
0.8
0
0
awesome-app
884
2023-08-23T08:12:11.404899
BSD-3-Clause
false
d9dbfab73ae13556cf31755b6942a1c6
}q
.venv\Lib\site-packages\babel\locale-data\ar_OM.dat
ar_OM.dat
Other
720
0.8
0
0
vue-tools
124
2025-06-13T07:55:08.804381
Apache-2.0
false
647c2b650215df6f827bba22fcb30308
}q
.venv\Lib\site-packages\babel\locale-data\ar_PS.dat
ar_PS.dat
Other
1,336
0.8
0
0
python-kit
363
2023-12-18T17:38:45.291862
MIT
false
3a862333720480160793c2801384ab45
}q
.venv\Lib\site-packages\babel\locale-data\ar_QA.dat
ar_QA.dat
Other
720
0.8
0
0
vue-tools
458
2024-04-02T01:40:57.450122
Apache-2.0
false
86abbb628575c841a6a484ec8462be76
}q
.venv\Lib\site-packages\babel\locale-data\ar_SA.dat
ar_SA.dat
Other
24,787
0.8
0
0
react-lib
588
2024-12-10T17:19:12.922345
GPL-3.0
false
81ea453f817e0d0978ba01453662a76e
}q
.venv\Lib\site-packages\babel\locale-data\ar_SD.dat
ar_SD.dat
Other
720
0.8
0
0
vue-tools
863
2025-05-17T15:07:57.901851
BSD-3-Clause
false
6287a5fb499cbe3232ad27ea67891729
}q
.venv\Lib\site-packages\babel\locale-data\ar_SO.dat
ar_SO.dat
Other
677
0.8
0
0
node-utils
249
2024-06-27T17:10:16.562823
BSD-3-Clause
false
44692b3b393936f3debb6f7919274346
}q
.venv\Lib\site-packages\babel\locale-data\ar_SS.dat
ar_SS.dat
Other
700
0.8
0
0
python-kit
527
2023-12-18T14:58:16.502810
Apache-2.0
false
feee8e227aeea96a57a50439cc127428
}q
.venv\Lib\site-packages\babel\locale-data\ar_SY.dat
ar_SY.dat
Other
1,398
0.8
0
0
node-utils
967
2024-10-25T14:22:37.301618
GPL-3.0
false
1c64f2fc290f58c8557a0c7dfbb48d6a
}q
.venv\Lib\site-packages\babel\locale-data\ar_TD.dat
ar_TD.dat
Other
658
0.8
0
0
react-lib
873
2024-10-09T04:06:47.598309
MIT
false
29d69ce6dead7723f09f7f5d6c59bd84
}q
.venv\Lib\site-packages\babel\locale-data\ar_TN.dat
ar_TN.dat
Other
1,201
0.8
0
0
python-kit
218
2025-03-25T21:21:46.726029
BSD-3-Clause
false
02db327d50f1b8e55f0cdbc68a214a4f
}q
.venv\Lib\site-packages\babel\locale-data\ar_YE.dat
ar_YE.dat
Other
720
0.8
0
0
node-utils
781
2023-11-10T12:40:29.610775
BSD-3-Clause
false
da709f8c921a8844b917d69824f86ec7
}q
.venv\Lib\site-packages\babel\locale-data\asa.dat
asa.dat
Other
15,492
0.8
0
0
vue-tools
30
2024-02-11T23:44:50.957591
MIT
false
04f95dc36a11196c883eadeed1eef480
}q
.venv\Lib\site-packages\babel\locale-data\asa_TZ.dat
asa_TZ.dat
Other
617
0.8
0
0
node-utils
983
2024-10-24T04:33:17.855560
MIT
false
b2fef34273f658a4484ea846aa4df289
}q
.venv\Lib\site-packages\babel\locale-data\ast_ES.dat
ast_ES.dat
Other
654
0.8
0
0
python-kit
537
2024-02-28T23:04:22.677697
Apache-2.0
false
67ddd8b86d90e2dc883f9e9bf30c730c
}q
.venv\Lib\site-packages\babel\locale-data\as_IN.dat
as_IN.dat
Other
658
0.8
0
0
node-utils
154
2024-06-11T07:06:15.230405
MIT
false
9516a0d4ba154983b043e487d2a13314
}q
.venv\Lib\site-packages\babel\locale-data\az_Arab.dat
az_Arab.dat
Other
7,499
0.8
0
0
node-utils
760
2024-09-07T10:26:55.478755
GPL-3.0
false
864c1efc03783e873090010a1efb9a4e
}q
.venv\Lib\site-packages\babel\locale-data\az_Arab_IQ.dat
az_Arab_IQ.dat
Other
678
0.8
0
0
awesome-app
818
2023-09-08T14:54:22.045812
GPL-3.0
false
d5629e93b63cc86dc0f1ac7531fe7294
}q
.venv\Lib\site-packages\babel\locale-data\az_Arab_IR.dat
az_Arab_IR.dat
Other
678
0.8
0
0
awesome-app
466
2024-08-31T05:19:12.328180
MIT
false
9eb5837ba05e8becdeb8b565f5f7c9a3
}q
.venv\Lib\site-packages\babel\locale-data\az_Arab_TR.dat
az_Arab_TR.dat
Other
635
0.8
0
0
python-kit
988
2025-04-11T22:48:35.097808
Apache-2.0
false
8afe9e1152853dde8570329b20796b91
}q
.venv\Lib\site-packages\babel\locale-data\az_Cyrl.dat
az_Cyrl.dat
Other
35,540
0.8
0.005348
0
react-lib
262
2024-06-13T05:34:00.895435
MIT
false
d3416eb43abd179caa054a77c92d87fb
}q
.venv\Lib\site-packages\babel\locale-data\az_Cyrl_AZ.dat
az_Cyrl_AZ.dat
Other
635
0.8
0
0
vue-tools
553
2023-07-31T22:48:27.220016
GPL-3.0
false
3b3c4b0817df5b3ad31c31a15f0dd48e
}q
.venv\Lib\site-packages\babel\locale-data\az_Latn.dat
az_Latn.dat
Other
2,258
0.8
0
0
vue-tools
833
2025-05-13T11:35:33.185400
GPL-3.0
false
84434e3c039c96c80eeab4abbd87c5fb
}q
.venv\Lib\site-packages\babel\locale-data\az_Latn_AZ.dat
az_Latn_AZ.dat
Other
635
0.8
0
0
awesome-app
789
2023-12-13T21:32:41.600188
BSD-3-Clause
false
3b3c4b0817df5b3ad31c31a15f0dd48e
}q
.venv\Lib\site-packages\babel\locale-data\ba.dat
ba.dat
Other
732
0.8
0
0
react-lib
533
2025-04-17T08:48:48.183219
MIT
false
d0c28a2bae92ce66abfa701b85f7e566
}q
.venv\Lib\site-packages\babel\locale-data\bal.dat
bal.dat
Other
12,849
0.8
0
0
python-kit
962
2024-08-08T14:09:39.588318
Apache-2.0
false
70a44d96b54cdf77c078d74a620c76cf
}q
.venv\Lib\site-packages\babel\locale-data\bal_Arab.dat
bal_Arab.dat
Other
934
0.8
0
0
react-lib
904
2024-06-18T23:03:55.557118
Apache-2.0
false
abb7373f2647a7702f2d4ebdc7866d12
}q
.venv\Lib\site-packages\babel\locale-data\bal_Arab_PK.dat
bal_Arab_PK.dat
Other
636
0.8
0
0
vue-tools
500
2024-04-04T16:58:33.797725
GPL-3.0
false
881000556d0b9e814fd7060391dcb681
}q
.venv\Lib\site-packages\babel\locale-data\bal_Latn_PK.dat
bal_Latn_PK.dat
Other
636
0.8
0
0
node-utils
992
2024-09-03T05:15:07.156983
Apache-2.0
false
881000556d0b9e814fd7060391dcb681
}q
.venv\Lib\site-packages\babel\locale-data\bas.dat
bas.dat
Other
16,673
0.8
0
0
react-lib
546
2023-07-17T13:51:56.485737
GPL-3.0
false
8583bbc8201bd70012cc3606b7fa905d
}q
.venv\Lib\site-packages\babel\locale-data\bas_CM.dat
bas_CM.dat
Other
636
0.8
0
0
vue-tools
545
2023-08-04T07:10:11.300419
Apache-2.0
false
eb4252513cc75684c19bf00cc9ee4d16
}q
.venv\Lib\site-packages\babel\locale-data\ba_RU.dat
ba_RU.dat
Other
653
0.8
0
0
node-utils
316
2024-01-25T18:40:10.300482
BSD-3-Clause
false
e49d5850a9f0ef1b81f6c26c3125005b
}q
.venv\Lib\site-packages\babel\locale-data\bem.dat
bem.dat
Other
5,782
0.8
0
0
python-kit
382
2024-11-07T06:05:07.978052
MIT
false
6672d68180831ee640fa21ec556a31a7
}q
.venv\Lib\site-packages\babel\locale-data\bem_ZM.dat
bem_ZM.dat
Other
617
0.8
0
0
vue-tools
972
2024-02-10T07:36:55.245270
BSD-3-Clause
false
97b5d31cb7c876928ec71275a40dd8dc
}q
.venv\Lib\site-packages\babel\locale-data\bew_ID.dat
bew_ID.dat
Other
636
0.8
0
0
awesome-app
217
2024-05-16T07:54:07.111102
BSD-3-Clause
false
4e9ed730e7b75c6229086c280246cda4
}q
.venv\Lib\site-packages\babel\locale-data\bez.dat
bez.dat
Other
16,300
0.8
0
0
awesome-app
244
2024-06-07T12:30:07.375758
MIT
false
870e8ee554106ad669bd155b85a1ba10
}q
.venv\Lib\site-packages\babel\locale-data\bez_TZ.dat
bez_TZ.dat
Other
617
0.8
0
0
awesome-app
911
2025-07-04T22:45:20.430290
BSD-3-Clause
false
b672101feea60bdec53a26df95b5f7b8
}q
.venv\Lib\site-packages\babel\locale-data\be_BY.dat
be_BY.dat
Other
635
0.8
0
0
python-kit
738
2023-09-04T22:31:51.414739
MIT
false
0ef88be6ccacab586d9246a259362efa
}q
.venv\Lib\site-packages\babel\locale-data\be_TARASK.dat
be_TARASK.dat
Other
104,118
0.6
0
0
awesome-app
395
2025-03-10T14:46:23.459179
Apache-2.0
false
99873a1af13e5bd3d886f7d35591f48b
}q
.venv\Lib\site-packages\babel\locale-data\bgc.dat
bgc.dat
Other
2,493
0.8
0
0
react-lib
532
2024-10-19T19:16:51.865743
BSD-3-Clause
false
fcd7f4f51e800df5d0da2eee061ced00
}q
.venv\Lib\site-packages\babel\locale-data\bgc_IN.dat
bgc_IN.dat
Other
659
0.8
0
0
vue-tools
366
2025-04-04T15:42:54.862844
Apache-2.0
false
8ca0b6d51f8caf482988273957825257
}q
.venv\Lib\site-packages\babel\locale-data\bgn.dat
bgn.dat
Other
28,964
0.8
0.006579
0
python-kit
388
2024-03-13T20:18:25.809177
GPL-3.0
false
9bf3b97876fca0968a6c76d65a242fe1
}q
.venv\Lib\site-packages\babel\locale-data\bgn_AE.dat
bgn_AE.dat
Other
636
0.8
0
0
vue-tools
870
2024-09-01T23:24:01.769054
MIT
false
8d67de3052fc1b52a720a67ca2f0131c
}q
.venv\Lib\site-packages\babel\locale-data\bgn_AF.dat
bgn_AF.dat
Other
679
0.8
0
0
vue-tools
914
2024-09-28T12:50:52.092474
Apache-2.0
false
61d51eb50d7f8e59d91e0e0d8f2e7379
}q
.venv\Lib\site-packages\babel\locale-data\bgn_IR.dat
bgn_IR.dat
Other
679
0.8
0
0
vue-tools
407
2024-06-28T19:58:44.721049
Apache-2.0
false
754f1abd9a7c5f748d7c2f732721e0cc
}q
.venv\Lib\site-packages\babel\locale-data\bgn_OM.dat
bgn_OM.dat
Other
679
0.8
0
0
node-utils
114
2025-06-12T03:36:38.662863
Apache-2.0
false
c8c87c2472de26e383d9b3758be1072c
}q
.venv\Lib\site-packages\babel\locale-data\bgn_PK.dat
bgn_PK.dat
Other
636
0.8
0
0
react-lib
716
2023-07-19T04:48:56.058851
MIT
false
df097119c9a67d716596f5fe344a2631
}q
.venv\Lib\site-packages\babel\locale-data\bg_BG.dat
bg_BG.dat
Other
653
0.8
0
0
python-kit
850
2024-02-12T19:42:46.736769
MIT
false
b4f597fa46f74a33bd10f232069a9294
}q
.venv\Lib\site-packages\babel\locale-data\bho.dat
bho.dat
Other
2,875
0.8
0
0
vue-tools
738
2023-09-26T02:52:23.580581
Apache-2.0
false
9dbe2df9071d23af340fa7c862b8d2e9
}q
.venv\Lib\site-packages\babel\locale-data\bho_IN.dat
bho_IN.dat
Other
659
0.8
0
0
node-utils
529
2023-10-04T12:17:30.831817
Apache-2.0
false
cd8ed083078b46d5bf34f0510ee228c9
}q
.venv\Lib\site-packages\babel\locale-data\blo_BJ.dat
blo_BJ.dat
Other
617
0.8
0
0
awesome-app
541
2025-05-21T18:48:42.851482
BSD-3-Clause
false
9026d55efd65a296705ade0a852155bf
}q
.venv\Lib\site-packages\babel\locale-data\blt.dat
blt.dat
Other
723
0.8
0
0
react-lib
153
2023-11-22T09:15:03.265323
MIT
false
b89fafbe0a1b4d8bcfa7f7716ab589fb
}q
.venv\Lib\site-packages\babel\locale-data\blt_VN.dat
blt_VN.dat
Other
636
0.8
0
0
node-utils
746
2024-03-14T12:42:01.415601
MIT
false
c0f654c7eb29ea2b6645a5c2f686b257
}q
.venv\Lib\site-packages\babel\locale-data\bm.dat
bm.dat
Other
15,798
0.8
0
0
node-utils
583
2024-08-31T21:19:08.315078
BSD-3-Clause
false
6f8c92b1c48e1053fadd53fbfb1df861
}q
.venv\Lib\site-packages\babel\locale-data\bm_ML.dat
bm_ML.dat
Other
616
0.8
0
0
python-kit
113
2025-02-09T19:13:41.280230
BSD-3-Clause
false
8303cd3e44f5ecfac4c89859481ed84b
}q
.venv\Lib\site-packages\babel\locale-data\bm_Nkoo.dat
bm_Nkoo.dat
Other
2,805
0.8
0
0
awesome-app
891
2025-05-13T23:56:53.784321
BSD-3-Clause
false
e68e81a6fdbb673b0150b2dc8c938817
}q
.venv\Lib\site-packages\babel\locale-data\bm_Nkoo_ML.dat
bm_Nkoo_ML.dat
Other
616
0.8
0
0
node-utils
506
2023-12-15T20:32:48.185747
GPL-3.0
false
8303cd3e44f5ecfac4c89859481ed84b
}q
.venv\Lib\site-packages\babel\locale-data\bn_BD.dat
bn_BD.dat
Other
635
0.8
0
0
react-lib
583
2024-03-16T15:37:29.115268
Apache-2.0
false
6aa6f7c17d17ff635b9615504c8c005d
}q
.venv\Lib\site-packages\babel\locale-data\bn_IN.dat
bn_IN.dat
Other
4,035
0.8
0
0
node-utils
218
2024-02-29T11:13:10.075634
BSD-3-Clause
false
658c8e2b2a50015bc4fd7f78aa9f7fb5