types-chevron
Typing stubs for chevron
What it is and what it does
types-chevron is a type stub package that adds static type information to the chevron Mustache template library. It's part of the typeshed project and provides accurate type annotations for chevron version 0.14.* so that type checkers like mypy and pyright can validate code using chevron without runtime errors.
Type stubs are metadata-only packages that don't contain executable code—they exist solely to tell type checkers what types chevron's functions accept and return. You install this alongside chevron if you want your IDE and type checker to understand chevron's API and catch type mismatches before runtime.
Use it for:
- Enable mypy or pyright to type-check code that calls chevron for Mustache template rendering
- Get IDE autocomplete and type hints when writing chevron template function calls
- Validate template data structures passed to chevron against expected types in a CI pipeline
- Catch type errors in template rendering logic without running the code
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type hints for the chevron Mustache template library, enabling static type checking of code that uses chevron.
Yes, if you use chevron and want static type checking. It's a zero-friction stub package with no dependencies, actively maintained, and tested against current type checkers. Install it alongside chevron in projects that enforce type safety.
Install
types-chevron on PyPI
pip
pip install types-chevronuv
uv add types-chevronpoetry
poetry add types-chevronInstalling types-chevron
Before you install
Low friction install with no runtime dependencies. Actively maintained as part of typeshed, tested against mypy 1.20.0 and pyright 1.1.408.
License in practice
Apache-2.0 permissive license allows use in most projects without significant restrictions.
Quickstart
pip install types-chevron
# In your code, type checkers will now understand chevron's API
import chevron
result = chevron.render('{{name}}', {'name': 'value'})
Requires Python 3.10 or later. chevron package should be installed separately for actual template rendering.
Verify before relying
- Whether chevron itself must be installed separately for these stubs to function in type checking workflows
- Compatibility with type checkers other than mypy 1.20.0 and pyright 1.1.408
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 128 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 258,693/month — #8,424 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: types_chevron-0.14.2.20260408-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
types-tabulateProvides type hints for the tabulate package,…
permissive · top 5,000 on PyPI
chevronChevron renders Mustache templates in Python,…
permissive · top 5,000 on PyPI
types-retryProvides type hints for the retry package,…
permissive · top 5,000 on PyPI
types-toposortProvides type hints for the toposort package,…
permissive · top 15,000 on PyPI
types-MarkdownProvides type stubs for the Markdown package,…
permissive · top 5,000 on PyPI
types-html5libProvides type hints for the html5lib HTML…
permissive · top 5,000 on PyPI
types-mypy-extensionsProvides type stubs for mypy-extensions,…
permissive · top 15,000 on PyPI
types-docutilsProvides type hints for the docutils library,…
permissive · top 5,000 on PyPI
types-coloramaProvides type stubs for colorama, enabling…
permissive · top 5,000 on PyPI
types-grpcio-reflectionProvides type hints for grpcio-reflection,…
permissive · top 15,000 on PyPI