LogoopenSUSE Build Service > Projects
Sign Up | Log In

A fast and easy to use template engine written in pure Python

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.  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 %}

Source Files (show merged sources derived from linked package)

Filename Size Changed Actions
Jinja2-2.7.3.tar.gz 370 KB almost 4 years ago Download File
python-Jinja2.changes 8.12 KB over 3 years ago Download File
python-Jinja2.spec 3.49 KB over 3 years ago Download File

Comments for home:wkazubski:dependencies (0)