It provides a Django inspired non-XML syntax but supports an optional sandboxed environment and inline expressions.
Here are some key features of "Jinja2":
· Configurable syntax. If generating LaTeX or other formats with Jinja2 the user can change the delimiters to something that integrates better into the LaTeX markup.
· Fast. While performance is not the primarily target of Jinja2 it’s surprisingly fast. The overhead compared to regular Python code was reduced to the very minimum.
· Easy to debug. Jinja2 integrates directly into the Python traceback system which allows to debug Jinja2 templates with regular Python debugging helpers.
· Secure. It’s possible to evaluate untrusted template code if the optional sandbox is enabled. This allows Jinja2 to be used as templating language for applications where users may modify the template design.
· Python 2.4 or higher
· A working C-compiler
· Python ctypes
What's New in This Release: [ read full changelog ]
· Fixed an operator precedence bug with unary operations.
· Migrating to git.