Jinja Template Engine

Introduction

Jinja is a template engine for the Python programming language. It's similar to the Django template engine but provides python like expressions while ensuring that the templates are evaluated in a sandbox. It's a text based template language thus it can be used to generate any markup as well as sourcecode. It's licensed under a BSD License. Unlike Django it's not possible to add custom tags because Jinja templates are compiled into cacheable python bytecode on the fly.

It also ships an easy to use filter system like Smarty does, similar to the Pipeline system of Unix.

Documents

• Jinja2 Documentation
• Jinja1 Documentation

Links

• http://jinja.pocoo.org/
• http://dev.pocoo.org/projects/jinja/
• http://download.huihoo.com/jinja/