4 Summary: A very fast and expressive template engine.
5 Home-page: https://palletsprojects.com/p/jinja/
7 Author-email: armin.ronacher@active-4.com
9 Maintainer-email: contact@palletsprojects.com
11 Project-URL: Donate, https://palletsprojects.com/donate
12 Project-URL: Documentation, https://jinja.palletsprojects.com/
13 Project-URL: Changes, https://jinja.palletsprojects.com/changes/
14 Project-URL: Source Code, https://github.com/pallets/jinja/
15 Project-URL: Issue Tracker, https://github.com/pallets/jinja/issues/
16 Project-URL: Twitter, https://twitter.com/PalletsTeam
17 Project-URL: Chat, https://discord.gg/pallets
19 Classifier: Development Status :: 5 - Production/Stable
20 Classifier: Environment :: Web Environment
21 Classifier: Intended Audience :: Developers
22 Classifier: License :: OSI Approved :: BSD License
23 Classifier: Operating System :: OS Independent
24 Classifier: Programming Language :: Python
25 Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
26 Classifier: Topic :: Text Processing :: Markup :: HTML
27 Requires-Python: >=3.7
28 Description-Content-Type: text/x-rst
29 License-File: LICENSE.rst
30 Requires-Dist: MarkupSafe (>=2.0)
32 Requires-Dist: Babel (>=2.7) ; extra == 'i18n'
37 Jinja is a fast, expressive, extensible templating engine. Special
38 placeholders in the template allow writing code similar to Python
39 syntax. Then the template is passed data to render the final document.
43 - Template inheritance and inclusion.
44 - Define and import macros within templates.
45 - HTML templates can use autoescaping to prevent XSS from untrusted
47 - A sandboxed environment can safely render untrusted templates.
48 - AsyncIO support for generating templates and calling async
50 - I18N support with Babel.
51 - Templates are compiled to optimized Python code just-in-time and
52 cached, or can be compiled ahead-of-time.
53 - Exceptions point to the correct line in templates to make debugging
55 - Extensible filters, tests, functions, and even syntax.
57 Jinja's philosophy is that while application logic belongs in Python if
58 possible, it shouldn't make the template designer's job difficult by
59 restricting functionality too much.
65 Install and update using `pip`_:
69 $ pip install -U Jinja2
71 .. _pip: https://pip.pypa.io/en/stable/getting-started/
79 {% extends "base.html" %}
80 {% block title %}Members{% endblock %}
83 {% for user in users %}
84 <li><a href="{{ user.url }}">{{ user.username }}</a></li>
93 The Pallets organization develops and supports Jinja and other popular
94 packages. In order to grow the community of contributors and users, and
95 allow the maintainers to devote more time to the projects, `please
98 .. _please donate today: https://palletsprojects.com/donate
104 - Documentation: https://jinja.palletsprojects.com/
105 - Changes: https://jinja.palletsprojects.com/changes/
106 - PyPI Releases: https://pypi.org/project/Jinja2/
107 - Source Code: https://github.com/pallets/jinja/
108 - Issue Tracker: https://github.com/pallets/jinja/issues/
109 - Website: https://palletsprojects.com/p/jinja/
110 - Twitter: https://twitter.com/PalletsTeam
111 - Chat: https://discord.gg/pallets