Documentation¶

Welcome to mstache documentation.

mstache, Mustache for Python¶

mstache is a Mustache template language implementation for Python, focused on high compatibility with JavaScript implementations, with no dependencies other than the Python Standard Library.

Contents:

  • Readme
    • License
    • Installation
    • Usage
    • Highlights
    • Considerations
    • Syntax
  • Templace cache
    • Pre-caching
    • Disabling cache
    • Key customization
  • Tips and tricks
    • Lambda examples
    • Virtual properties
    • Streaming patterns
  • API reference
    • tokenize()
    • stream()
    • render()
    • cli()
    • TokenException
    • ClosingTokenException
    • UnclosedTokenException
    • DelimiterTokenException
    • TemplateRecursionError
    • default_recursion_limit
    • default_resolver()
    • default_getter()
    • default_stringify()
    • default_escape()
    • default_lambda_render()
    • default_tags
    • default_cache
    • default_cache_make_key
    • default_virtuals
    • TString
    • PartialResolver
    • PropertyGetter
    • StringifyFunction
    • EscapeFunction
    • LambdaRenderFunctionConstructor
    • VirtualPropertyFunction
    • VirtualPropertyMapping
    • TagsTuple
    • TagsByteTuple
    • CompiledToken
    • CompiledTemplate
    • CompiledTemplateCache
    • CacheMakeKeyFunction
  • Changelog
    • 0.2.0 - 2024-05-21
    • 0.1.5 - 2021-12-17
    • 0.1.4 - 2021-04-13
    • 0.1.3 - 2021-04-11
    • 0.1.2 - 2021-01-29
    • 0.1.1 - 2021-01-11
    • 0.1.0 - 2021-01-01
  • License

Indices and tables¶

  • Index

  • Module Index

  • Search Page

mstache

  • mstache at GitLab
  • mstache at PyPI
  • Issue tracker

Table of Contents

Contents:

  • Readme
  • Templace cache
  • Tips and tricks
  • API reference
  • Changelog
  • License

Related Topics

  • Documentation overview
    • Next: mstache

This Page

  • Show Source

Quick search

©2021-2024, Felipe A Hernandez. | Powered by Sphinx 7.3.7 & Alabaster 0.7.16 | Page source