Python jinja2

From wikinotes
(Redirected from Jinja2)

jinja/jinja2 is a python-based templating language. Generally, it is used as a preprocessor language. A configfile or program is written, and jinja provides an ability to use variables, if statements etc before the final document is written out.

Documentation

official docs https://jinja.palletsprojects.com/en/2.11.x/
builtin filters https://jinja.palletsprojects.com/en/master/templates/#builtin-filters
builtin tests (see select) https://jinja.palletsprojects.com/en/master/templates/#builtin-tests
live parser http://jinja.quantprogramming.com/

Notes

jinja2 usage
jinja2 syntax
jinja2 template syntax