Overview Click Flask ItsDangerous JinjaMarkupSafe Werkzeug
Jinja
Star
8,238
Jinja2 is a full-featured template engine for Python. It has full unicode support, an optional integrated sandboxed execution environment, widely used and BSD licensed.
Jinja is Beautiful
{% extends "layout.html" %}{% block body %} <ul> {% for user in users %} <li><a href="{{ user.url }}">{{ user.username }}</a></li> {% endfor %} </ul>{% endblock %}
And Powerful
Jinja2 is one of the most used template engines for Python. It is inspired by Django's templating system but extends it with an expressive language that gives template authors a more powerful set of tools. On top of that it adds sandboxed execution and optional automatic escaping for applications where security is important.
It is internally based on Unicode and runs on a wide range of Python versions from 2.5 to current versions including Python 3.
Wide Range of Features
pallets/jinja
Releases on PyPI
Test status
Documentation
License & CopyrightContact • Made with and Lektor • Powered by Netlify
The Pallets ProjectsProjectsGovernancePeopleBlogDonate