chevron
chevron copied to clipboard
A Python implementation of mustache
I was going to add the "--keep" option but cannot find the latest code matching 0.14.0 - where is it?
@noahmorrison ! I'd like to offer you help maintaining this library. I'm the original creator of [Apache Superset](https://superset.apache.org) and [Apache Airflow](https://airflow.apache.org), and currently looking to use `chevron` in Superset as...
Exposed the `keep` option via new `-k/--keep` command line options. Also update README.md which did not describe `-w/--warn`.
I was hoping to use chevron against some helm templates but helm also uses templating so it's not trivial. I'm going to try using different delimiters but having your "keep"...
Hi, I was wondering if we could improve the behavior of chevron.render (with warn=True) so that it hands back an error type containing the issues along with the rendered string,...
```>>> import chevron >>> template = "{{& html_stuff}}" >>> chevron.render(template, {'a':'123'}, keep = True) '{{ html_stuff }}' ```
Currently if a variable does not exist, Chevron just replaces it with an unknown value: ```python # This will render 'hello ' result = chevron.render('{{ value1 }} {{ value2 }}',...
Just as the title says. The latest "keep" feature in the renderer is very useful and would like it to be available without having to download directly from github. Regards.
Due to security issues we decided to migrate from jinja to mustache. Jinja supports error raising for missing variables, which is good for data validation purposes. Proposition: - Add `error`...