Paketname | python-jinja |
Beschreibung | small but fast and easy to use stand-alone template engine |
Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
Version | 1.2-3+b1 |
Sektion | python |
Priorität | optional |
Installierte Größe | 444 Byte |
Hängt ab von | python (<< 2.7), python (>= 2.5), python-support (>= 0.90.0), libc6 (>= 2.3.6-6~) |
Empfohlene Pakete | python-textile (>= 2.0.10-3.1), python-markdown (>= 1.4-2), python-simplejson (>= 1.1-1.1), python-p |
Paketbetreuer | Piotr Ożarowski |
Quelle | jinja (1.2-3) |
Paketgröße | 67424 Byte |
Prüfsumme MD5 | 7859c2380f96f337df140c8c9becd1f3 |
Prüfsumme SHA1 | c03f1c6b5de94f1458db4d10d1f511d0ccf61ae8 |
Prüfsumme SHA256 | 93dbfcdf510fef2930a63cff8cfa0cd07284cf4f7bf92541849bd64ffba06bbd |
Link zum Herunterladen | python-jinja_1.2-3+b1_i386.deb |
Ausführliche Beschreibung | 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.
|