{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/4"}],"enrichment":{"capability":"Provides PEP 561 type stubs for Jinja2, enabling type checkers like mypy and PyCharm to validate code that uses Jinja2.","skillfed_tags":["type-stubs","deprecated"],"use_cases":["Adding type checking to legacy projects using Jinja2 < 3.0 without native type stubs","Enabling mypy or PyCharm to validate Jinja2 template rendering code in older codebases","Supporting static analysis in CI/CD pipelines for projects locked to pre-3.0 Jinja2 versions"],"what_it_does":"types-Jinja2 is a PEP 561 type stub package that provides type information for the Jinja2 templating engine. It allows static type checkers like mypy, PyCharm, and pytype to understand and validate code that uses Jinja2, catching type errors before runtime. The stubs are maintained in the typeshed repository and are sourced from the Python community's central type stub collection.\n\nHowever, this package is now largely obsolete. Jinja2 itself has included native type annotations since version 3.0, eliminating the need for separate stubs. If you are using Jinja2 3.0 or newer, you should uninstall types-Jinja2 and rely on Jinja2's built-in type support instead. This package remains useful only for projects still using older Jinja2 versions that lack native type information.","worth_installing":"No, unless you are constrained to Jinja2 < 3.0. For modern projects, Jinja2 3.0+ includes its own type annotations, making this package redundant. The package has not been updated since 2021 and is explicitly marked as superseded in its own documentation. Install only if you cannot upgrade Jinja2 itself."},"id":"types-jinja2","links":{"html":"https://skillfed.io/packages/types-jinja2","md":"https://skillfed.io/packages/types-jinja2.md","pypi":"https://pypi.org/project/types-jinja2/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2021-11-26","license_spdx":null,"license_treatment":"permissive","name":"types-Jinja2","python_support":"unspecified","summary":"Typing stubs for Jinja2"},"popularity":{"monthly_downloads":2532677,"position":3018,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.11.9"}
