pystache icon indicating copy to clipboard operation
pystache copied to clipboard

Mustache in Python

Results 53 pystache issues
Sort by recently updated
recently updated
newest added

allows pystache.render to take a file path string to a template file as the template argument. This should be safe because it would be hard to craft a valid template...

The public `pystache.render` function should take an optional `delimiters` parameter. Lower-level functions take `delimiters` as an optional parameter, but there's no easy way to pass custom delimiters down into them....

Some scripts are failing on python 3 for me. Fixed them here.

This matches the behavior of JS implementations of mustache. Tested against mustache.js and Hogan. ``` >>> context = {"data": ['one', 'two', 'three']} >>> pystache.render("{{ data.0 }}", context) 'one' ``` Tests...

Locator.make_file_name(...) always appends a dot at the end of filename when the extension string is empty. This is not a problem on Windows since the trailing dot is stripped but...

The command line version of pystache always treats the template argument as a string. Based on the documentation, it should recognize a file if one exists, which is how the...

From the docs "missing_tags: a string specifying how to handle missing tags. If 'strict', an error is raised on a missing tag. If 'ignore', the value of the tag is...

If there is an array {array: ["image1", "image2"]}, I am not able to access the array by its index. Eg:- `` The same syntax works in mustache.js Mustache Js Reference

I'm trying to work find out which templates extend or include each other on a project I'm working on, is there a way to do this with pystache ?

I've made some quick changes for Python 2.2 support (tested with http://code.google.com/p/movable-python/downloads/detail?name=movpy-2.0.0-py2.2.3.zip ) I've not yet tried Jython 2.2. Test suite is now runnable but there are some failures in...