python-jinja 1.2-2ubuntu2 (i386 binary) in ubuntu lucid
Jinja provides a Django-like non-XML syntax and compiles templates
into executable Python code. It's basically a combination of Django templates
and Python code.
.
Philosophy: application logic is for the controller but don't try to make the
life for the template designer too hard by giving him too few functionality.
.
Features:
* Simple API.
* Extremely lightweight.
* The whole engine is completely sandboxed. A template designer won't be able
to modify application data or execute dangerous code
* You can use nearly every Python expression. Not supported are the binary
operators and list comprehensions / generator expressions.
* Uses the same concept for inheritance Django uses. It's very powerful
and easy to understand.
* 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.
Details
- Package version:
- 1.2-2ubuntu2
- Status:
- Superseded
- Component:
- universe
- Priority:
- Optional
Downloadable files
- python-jinja_1.2-2ubuntu2_i386.deb (65.4 KiB)
Package relationships
- Provides:
- python2.5-jinja
- python2.6-jinja
- Recommends: