Jinja

A small but fast and easy to use stand-alone template engine written in pure Python
Download

Jinja Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Armin Ronacher
  • Publisher web site:
  • http://jinja.pocoo.org/1/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 246 KB

Jinja Tags


Jinja Description

A small but fast and easy to use stand-alone template engine written in pure Python Jinja is a free and open source sandboxed template engine written in pure Python licensed under the BSD license. Jinja provides a Django-like non-XML syntax and compiles templates into executable Python code. Jinja is basically a combination of Django templates and Python code. Here are some key features of "Jinja": · Simple API. · Sandboxed. The whole engine is completely sandboxed. A template designer won't be able to modify application data or execute dangerous code. · Python expressions. You can use nearly every python expression. Not supported are the bitwise operators and list comprehensions / generator expressions. · Inheritance. Jinja uses the same concept for inheritance Django uses. It's very powerful and easy to understand. · Macros. Jinja provides so called macros that allow you to put often used template snippets into callable blocks · Designer friendly. Jinja simplifies many things for a template designer. Loops can be used in a recursive way, filters are available to format values, loops know about their iteration etc. · Dynamic Syntax. You don't like the Django block syntax? You can override the syntax elements on environment initialisation. It's no problem to use ASP/PHP/Ruby syntax, html comments for blocks etc. Requirements: · Python


Jinja Related Software