skillfed

types-chevron

Typing stubs for chevron

types-chevron v0.14.2.20260408 258.7K downloads/30d#8,424 on PyPI37
Permissive license Apache-2.0 Active released

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-chevron

uv

uv add types-chevron

poetry

poetry add types-chevron

Installing 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

Programming Language :: Python :: 3Typing :: Stubs Only

Tags

type stubs chevronchevron type hintsmustache template typingstatic type checking templateschevron mypy supportpyright type stubs
type-stubsstatic-analysis

More Software Development packages