{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/8"}],"enrichment":{"capability":"Provides type stubs for the babel package, enabling static type checkers like mypy and pyright to validate code that uses babel for internationalization and localization.","skillfed_tags":["type-stubs","deprecated-for-new-babel"],"use_cases":["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"],"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\u2014mypy, pyright, pytype, and PyCharm\u2014to 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.\n\nThe 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.","worth_installing":"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."},"id":"types-babel","links":{"html":"https://skillfed.io/packages/types-babel","md":"https://skillfed.io/packages/types-babel.md","pypi":"https://pypi.org/project/types-babel/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2023-07-20","license_spdx":null,"license_treatment":"permissive","name":"types-babel","python_support":"unspecified","summary":"Typing stubs for babel"},"popularity":{"monthly_downloads":517867,"position":6226,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.11.0.15"}
