Skip to main content

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.

The Jinja2 tip is installable via easy_install with easy_install Jinja2==dev.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Jinja2-2.1.1.tar.gz (516.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

Jinja2-2.1.1-py2.6-win32.egg (319.7 kB view details)

Uploaded Egg

Jinja2-2.1.1-py2.5-win32.egg (320.0 kB view details)

Uploaded Egg

Jinja2-2.1.1-py2.4-win32.egg (322.9 kB view details)

Uploaded Egg

File details

Details for the file Jinja2-2.1.1.tar.gz.

File metadata

  • Download URL: Jinja2-2.1.1.tar.gz
  • Upload date:
  • Size: 516.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Jinja2-2.1.1.tar.gz
Algorithm Hash digest
SHA256 4ccb4abe88756b79768ca9d8c80da8cf2459ad876c70c9813ebfdcab4350f013
MD5 b37fc262e4f613eec57c3defe6aea97c
BLAKE2b-256 d9609211025af939cddd0d3c4759837c017839a23edc7c6c08813569e6e655d4

See more details on using hashes here.

File details

Details for the file Jinja2-2.1.1-py2.6-win32.egg.

File metadata

File hashes

Hashes for Jinja2-2.1.1-py2.6-win32.egg
Algorithm Hash digest
SHA256 78e6af9be17cd3bc588da5b9e3b2fc266152520774448a1e7b8e1448c2fbdfe4
MD5 8540a2bf5bfd263842d3a7c6df13977b
BLAKE2b-256 c43abc1d47228268d74c497bc82016180cbdf87be638e63b88136b7e007fc6f3

See more details on using hashes here.

File details

Details for the file Jinja2-2.1.1-py2.5-win32.egg.

File metadata

File hashes

Hashes for Jinja2-2.1.1-py2.5-win32.egg
Algorithm Hash digest
SHA256 52a16668d0ddcd53c00a6f9993f7da5f46a89ed7b02506308211dbdf6c0f085f
MD5 a6cd9757966640a7bb7e887c24dd9ff3
BLAKE2b-256 53f83c76c38c68f022ad6a81f29b95cf73f5127a232842c4916306525b39eccd

See more details on using hashes here.

File details

Details for the file Jinja2-2.1.1-py2.4-win32.egg.

File metadata

File hashes

Hashes for Jinja2-2.1.1-py2.4-win32.egg
Algorithm Hash digest
SHA256 d5d7354809bd9e55b765f5d0e4c88e511bede552411bc83491f98a85dcc51c50
MD5 ce0a82883624cd31c8b513b7bc961148
BLAKE2b-256 a11298c441c87b1463391f723f9e185c9c3f4462018bd51966e35d7de85f2cf2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page