Braces is a Python implementation of Mustache, a framework-agnostic, logic-free templating system. It is useful for rendering templates with data using Mustache syntax, and includes a command-line interface plus support for the Mustache spec tests.
Project status
- Actively maintained: No. The upstream push is from 2012-07-07, and the most recent recorded update in this source is v0.5.2 from 2012-05-06, so there is a multi-year gap with no evidence of ongoing maintenance.
- Update cadence: Appears historically active in the spring of 2012 (v0.5.0, v0.5.1, v0.5.2 within about a month), but since then the update stream is effectively stopped.
AI summary generated
Recent updates
v0.5.2
v0.5.2 refactors core internals around context handling and introduces a new exception type for missing templates/partials. The release body provided for this version contains no publisher release notes, but the repo diff shows behavior changes in partial lookup/rendering and a significant internal renaming of the context stack type.
v0.5.1
No publisher release notes were provided for v0.5.1. The code diff shows a release focused on Python 3 support (3.1/3.2), updated HTML escaping behavior, and test/command-harness restructuring (tox, new CLI entry points, and module/package refactors).
v0.5.0
Release v0.5.0 is published, but no release notes were provided. As a result, the specific changes, potential breaking changes, bug fixes, security updates, and migration actions cannot be determined from the supplied information.
v0.4.1
Release v0.4.1 (per diff) updates package metadata and documentation to add compatibility with older Python versions, specifically Python 2.4. The only functional code change is in pystache/template.py, where callable detection for section values was adjusted to use Python's built-in callable() instead of collections.Callable.
v0.4.0
v0.4.0 introduces a sizable internal refactor around template loading and rendering. However, the publisher-provided release notes are missing, so the changes described in the repository (for example, in HISTORY.rst) are not available to developers via the release description.
v0.3.1
This release appears to be a packaging and release metadata update rather than a functional code change. The only code-related changes are version metadata updates and adding packaging files to ensure documentation is included in the source distribution.
v0.3.0
Release v0.3.0 introduces several Mustache-template capabilities, including inverted sections, higher-order sections (callable sections), and an unescaped tag alias using the {{& name}} sigil. The release notes field is empty, so all behavioral changes below are effectively undocumented and must be inferred from the code diff.
BreakingFeaturesv0.2.0
v0.2.0 adds Unicode and template encoding awareness, improves tag rendering for values like 0, and extends View attribute handling to support non-callables and View instances as attributes. The provided release notes are empty, so all behavioral changes below are inferred directly from the code diff.
Featuresv0.1.1
Release v0.1.1 primarily makes template rendering more robust by ensuring values are treated as strings before being escaped. The diff also includes small packaging/test hygiene updates and a version bump in setup.py.
v0.1.0
This release (v0.1.0) has no release notes provided by the publisher. As a result, there is no documented information about new features, fixes, or breaking changes.