{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/3"}],"enrichment":{"capability":"Pystache renders Mustache templates\u2014a logic-free templating system that separates presentation from application logic\u2014using Python dictionaries and objects as context.","skillfed_tags":["templating","mustache","logic-free"],"use_cases":["Render email templates or HTML documents with variable substitution from Python data structures.","Generate configuration files or code from templates without embedding logic in the template itself.","Build view classes that provide data to templates while keeping presentation logic separate from business logic.","Pre-parse templates once and render them multiple times with different context data.","Command-line template rendering when JSON or YAML context files are available."],"what_it_does":"Pystache is a Python implementation of Mustache, a framework-agnostic templating language designed to enforce separation of logic from presentation. It renders templates by interpolating values from Python dictionaries or objects into template strings, supporting sections, conditionals, and iteration through a simple, readable syntax. The package passes the full Mustache specification (version 1.1.3) and handles both simple string rendering and more complex view-based templates through its Renderer class.\n\nThe package is designed for scenarios where you want to keep templates free of application logic\u2014Mustache makes it impossible to embed conditional or looping code in templates themselves. It supports Unicode internally and provides configurable encoding handling for file and string inputs. Pystache works across Linux, macOS, and Windows, with tested support for Python 3.8 through 3.13.","worth_installing":"Yes, if you need a simple, logic-free templating system. Pystache is stable, permissively licensed, and has no known vulnerabilities. The aging maintenance status (514 days since last release) is not a blocker for a mature, spec-compliant library, but consider it if you need active development or frequent updates. Low install friction and broad Python version support make it a practical choice for projects prioritizing template simplicity over feature richness."},"id":"pystache","links":{"html":"https://skillfed.io/packages/pystache","md":"https://skillfed.io/packages/pystache.md","pypi":"https://pypi.org/project/pystache/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-03-18","license_spdx":null,"license_treatment":"permissive","name":"pystache","python_support":"supports_current","summary":"Mustache for Python"},"popularity":{"monthly_downloads":4179011,"position":2366,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.6.8"}
