Jinja2
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.
Nutshell
Here a small example of a Jinja template:
{% extends 'base.html' %}
{% block title %}Memberlist{% endblock %}
{% block content %}
<ul>
{% for user in users %}
<li><a href="{{ user.url }}">{{ user.username }}</a></li>
{% endfor %}
</ul>
{% endblock %}
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.
For more informations visit the new Jinja2 webpage and documentation.
The Jinja2 tip is installable via easy_install with easy_install Jinja2==dev.
Release files for Jinja2 2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Jinja2-2.1.tar.gz | 653.3 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Jinja2-2.1-py2.6-win32.egg | Legacy Egg format | - | - | Details |
| Jinja2-2.1-py2.5-win32.egg | Legacy Egg format | - | - | Details |
| Jinja2-2.1-py2.4-win32.egg | Legacy Egg format | - | - | Details |
Total release size:1.3 MB
Release files / Jinja2-2.1.tar.gz
| Download URL | Jinja2-2.1.tar.gz |
|---|---|
| Size | 653.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9abe1cd68aa2f7bf4502456ebc00500570fdd878cfb19fd908f837f61b811ff
|
|
BLAKE2b-256 checksum How to use checksums |
f671f7b1b6bb97d635e57e196ac2d70a0b001d37a94b0c37f5ec02d0ffce31f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / Jinja2-2.1-py2.6-win32.egg
| Download URL | Jinja2-2.1-py2.6-win32.egg |
|---|---|
| Size | 216.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
3c51815d28ebf078449b398390ca27ea4b57481c8f552408d59f6a5a2af15f27
|
|
BLAKE2b-256 checksum How to use checksums |
ba5515ed056fb8c85e0c27fbb3d542250628e4df04dbd0f85c7d83274ee377cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / Jinja2-2.1-py2.5-win32.egg
| Download URL | Jinja2-2.1-py2.5-win32.egg |
|---|---|
| Size | 214.5 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
b0e31b2b137437ea2ec37bebcdd8532c26575b999f5d67003625ff14652af88c
|
|
BLAKE2b-256 checksum How to use checksums |
dc96f9a47d6f13d4f66fe9376716c94453114d1409c3ee0a6120153c1c335cc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / Jinja2-2.1-py2.4-win32.egg
| Download URL | Jinja2-2.1-py2.4-win32.egg |
|---|---|
| Size | 217.3 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
857bfc9ddd22f2ea04e217598dd698af49fe57f136bee05cff63d27d4080f5ee
|
|
BLAKE2b-256 checksum How to use checksums |
3d6a1999db9da05cfc3f799bb3184997cb1dc34063b4a34519d8618c44c5cf69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |