Documentation¶
Welcome to mstache documentation.
mstache, Mustache for Python¶
mstache is a Mustache template language implementation for Python, focused on high compatibility with mustache.js, with no dependencies other than the Python Standard Library.
Contents:
- License
- Readme
- Templace cache
- Lambdas
- Strict mode
- Non-HTML use-cases
- Tips and tricks
- Changelog
- API reference
PROTOCOL_VERSIONtokenize()stream()render()cli()TokenExceptionClosingTokenExceptionSectionExceptionUnopenedSectionExceptionUnclosedSectionExceptionUnclosedTokenExceptionDelimiterTokenExceptionTemplateRecursionErrordefault_recursion_limitdefault_resolver()default_getter()default_strict_getter()default_getter_tupledefault_stringify()default_escape()default_strict_escape()default_escape_tupledefault_lambda_render()default_tagsdefault_cachedefault_cache_make_keydefault_virtualsBufferTStringPartialResolverPropertyGetterPropertyGetterTupleStringifyFunctionEscapeFunctionEscapeFunctionTupleLambdaRenderFunctionConstructorVirtualPropertyFunctionVirtualPropertyMappingTagsTupleTagsByteTupleCompiledTokenCompiledTemplateCompiledTemplateCacheCacheMakeKeyFunction
- External: Mustache manual