--- id: chevron version: "0.14.0" license: MIT license_treatment: permissive maintenance: abandoned --- # chevron — Mustache templating language renderer License: permissive · Maintenance: abandoned · Downloads: 15.0M/mo ## What it is and what it does Chevron is a Python implementation of the Mustache templating language, a logic-less template syntax that separates presentation from data. It takes a template string (or file) containing Mustache syntax and a data dictionary, then renders the template by substituting variables, iterating over lists, and invoking partials and lambda functions. The package is designed to be spec-compliant with the official Mustache specification and offers both a Python API and a command-line interface. It supports partials (template includes) loaded from dictionaries or the filesystem, custom delimiters, and lambda functions for conditional or computed template logic. With no runtime dependencies, it installs cleanly and runs as a pure Python module. Use it for: - Generate HTML emails or documents from templates and dynamic data in web applications. - Render configuration files or code templates from data structures in build or deployment scripts. - Build command-line tools that produce formatted output using Mustache templates and JSON data. - Create reusable template libraries with partials for consistent document or UI generation. - Implement simple report or invoice generation by combining template files with structured data. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Chevron renders Mustache templates in Python, converting template strings with data into final output. It supports partials, custom delimiters, and lambda functions for dynamic template logic. Yes, if you need a lightweight, spec-compliant Mustache renderer with no dependencies and your project does not require active maintenance. The package is stable and well-tested, but it is abandoned—no updates since 2021. Choose it for simple templating tasks where you control the template syntax and do not expect future feature requests or bug fixes. For active development or complex templating needs, consider a maintained alternative. ## Install pip install chevron uv add chevron poetry add chevron ## Installing chevron Before you install: Installation is straightforward with no runtime dependencies. However, the project is abandoned—last release was 2021-01-02 and no commits since 2023-08-24. While the codebase is stable and spec-compliant, expect no maintenance or bug fixes going forward. License in practice: MIT license is permissive and imposes minimal restrictions. You may use, modify, and distribute chevron freely in commercial or private projects, provided you retain the license notice. Quickstart: import chevron chevron.render('Hello, {{ name }}!', {'name': 'World'}) # With partials from filesystem chevron.render('{{> header }}', partials_path='partials/', partials_ext='mustache') Verify before relying: - Whether Python 2 support (2.6, 2.7) remains relevant for your project, given modern Python ecosystem shifts. - Current compatibility with Python versions beyond 3.6, which was the latest tested version listed in the fact sheet. ## Package facts - License: MIT (permissive) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 15.0M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags mustache template renderer, python templating engine, mustache implementation python, template rendering library, dynamic text generation, mustache spec compliant, template partials support, template-rendering, mustache, abandoned-but-stable [View on SkillFed](https://skillfed.io/packages/chevron) · [View on PyPI](https://pypi.org/project/chevron/)