Skip to content

Instantly share code, notes, and snippets.

@duk3luk3
Created October 2, 2013 18:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save duk3luk3/6798408 to your computer and use it in GitHub Desktop.
Save duk3luk3/6798408 to your computer and use it in GitHub Desktop.
erlacher@vmbode6:~$ aptitude show python-jinja2
Package: python-jinja2
State: installed
Automatically installed: yes
Version: 2.6-1
Priority: optional
Section: python
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Uncompressed Size: 1.020 k
Depends: python2.7, python (>= 2.7.1-0ubuntu2), python (< 2.8), libc6 (>= 2.2.5), python-markupsafe
Recommends: python-pkg-resources
Suggests: python-jinja2-doc
Conflicts: python-jinja2
Enhances: python-pybabel
Provides: python2.7-jinja2
Description: small but fast and easy to use stand-alone template engine
Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment.
The key-features are:
* Configurable syntax. If you are generating LaTeX or other formats with Jinja2 you 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 you 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.
Homepage: http://jinja.pocoo.org/2/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment