A small but fast and easy to use stand-alone template engine written in pure python.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Jinja2-2.10.tar.gz.
File metadata
- Download URL: Jinja2-2.10.tar.gz
- Upload date:
- Size: 261.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | f84be1bb0040caca4cea721fcbbbbd61f9be9464ca236387158b0feea01914a4 | |
| MD5 | 61ef1117f945486472850819b8d1eb3d | |
| BLAKE2b-256 | 56e6332789f295cf22308386cf5bbd1f4e00ed11484299c5d7383378cf48ba47 |
File details
Details for the file Jinja2-2.10-py2.py3-none-any.whl.
File metadata
- Download URL: Jinja2-2.10-py2.py3-none-any.whl
- Upload date:
- Size: 126.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 74c935a1b8bb9a3947c50a54766a969d4846290e1e788ea44c1392163723c3bd | |
| MD5 | cb679acd14423aef56dfff61d6a988f8 | |
| BLAKE2b-256 | 7fffae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731 |