$npx skillfedfor your agent

types-babel

Typing stubs for babel

SkipPyPI Software DevelopmentReleased Jul 2023517.9K downloads / moApache-2.0 licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_babel-2.11.0.15-py3-none-any.whl
v2.11.0.15 · released 2023-07-20 · 2 runtime deps: types-pytz, types-setuptools

No, unless you are locked into babel < 2.12.1. For babel 2.12.1 and later, uninstall this package and rely on babel's native type annotations instead. The stub package is outdated (last updated 2023-07-20) and redundant for modern babel versions. If you must use an older babel, install it only as a development dependency for type checking.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Only needed if using babel < 2.12.1; babel 2.12.1+ includes native type annotations, making this package unnecessary.
  • Low install friction with a pure-Python wheel distribution.
  • Actively maintained as part of typeshed, though the package has not been updated since 2023-07-20 (over 1121 days ago).

License · maintenance · safety

Apache-2.0 license (permissive) — Licensed under Apache-2.0 (permissive), allowing use in most commercial and open-source projects without significant restrictions.

last release 2023-07-20 (1121 days) · last repo commit 2026-08-14 · 5,108 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 517,867 downloads/mo, #6,226 on PyPI

Verify before relying

pip install types-babel

# In your code, type checkers will now understand babel imports
from babel.dates import format_date
from datetime import date

result = format_date(date.today(), locale='en_US')
  • Whether the stub package remains compatible with recent babel versions beyond 2.12.1
  • Coverage completeness of the partial stubs relative to current babel API surface
Same gist for agents: .md · .json

What it is and what it does

types-babel is a PEP 561 type stub package that provides type information for the babel internationalization library. It allows static type checkers—mypy, pyright, pytype, and PyCharm—to understand and validate code using babel's date formatting, number localization, and message translation functions. The stubs are sourced from the typeshed project and marked as partial, meaning some annotations may be incomplete.

The package is primarily useful for projects that depend on older versions of babel (pre-2.12.1) or that require strict type checking in environments where babel's native annotations are not yet available. Since babel 2.12.1, the upstream library includes its own type annotations, making this stub package redundant for newer installations. The package depends on types-pytz and types-setuptools for its own type information.

Use it for

  • Enable mypy or pyright type checking in a project using babel < 2.12.1 for date and number localization
  • Validate internationalization code in legacy applications that cannot upgrade babel to a version with native type stubs
  • Provide IDE autocomplete and type hints for babel functions in editors like PyCharm when using older babel versions
  • Ensure type safety in continuous integration pipelines that enforce strict type checking on i18n-heavy codebases

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No, unless you are locked into babel < 2.12.1.

For babel 2.12.1 and later, uninstall this package and rely on babel's native type annotations instead. The stub package is outdated (last updated 2023-07-20) and redundant for modern babel versions. If you must use an older babel, install it only as a development dependency for type checking.

Install

types-babel on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained as part of typeshed, though the package has not been updated since 2023-07-20 (over 1121 days ago). Note: babel itself has included native type annotations since version 2.12.1, making this stub package redundant for newer babel versions.

Only needed if using babel < 2.12.1; babel 2.12.1+ includes native type annotations, making this package unnecessary.

License in practice

Licensed under Apache-2.0 (permissive), allowing use in most commercial and open-source projects without significant restrictions.

Quickstart

pip install types-babel

# In your code, type checkers will now understand babel imports
from babel.dates import format_date
from datetime import date

result = format_date(date.today(), locale='en_US')

Verify before relying

  • Whether the stub package remains compatible with recent babel versions beyond 2.12.1
  • Coverage completeness of the partial stubs relative to current babel API surface

Package facts

LicenseApache-2.0 license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
types-pytztypes-setuptools
MaintenanceActively maintained 1,121 days since the last release
Last repo commit
First released
Downloads517,867 / month, #6,226 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Typing :: Stubs Only

Evidence: types_babel-2.11.0.15-py3-none-any.whl

Tags

Capabilities
type stubs babelmypy babel typingstatic type checking i18nbabel type annotationspyright babel stubstype hints internationalization
Topics
type-stubsdeprecated-for-new-babel

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “type stubs babel”

  • types-babelProvides type stubs for the babel package, enabling static type…
  • flask-babelAdds internationalization (i18n) and localization (l10n) support to…
  • quart_babelAdds internationalization (i18n) and localization (l10n) support to…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also types-typed-ast · types-tzlocal · types-emoji · types-redis · types-chardet · types-Pillow · types-urllib3 · types-contextvars · types-stripe · types-DateTimeRange