--- id: types-chevron version: "0.14.2.20260408" license: Apache-2.0 license_treatment: permissive maintenance: active --- # types-chevron — Typing stubs for chevron License: permissive · Maintenance: active · Downloads: 258.7K/mo ## 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 above — 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 pip install types-chevron uv add types-chevron 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_current - Install friction: low - Maintenance: active - Downloads: 258.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags type stubs chevron, chevron type hints, mustache template typing, static type checking templates, chevron mypy support, pyright type stubs, type-stubs, static-analysis [View on SkillFed](https://skillfed.io/packages/types-chevron) · [View on PyPI](https://pypi.org/project/types-chevron/)