Contents

Jinja2 3.1.3

0

A very fast and expressive template engine.

Jinja2 is a popular, full-featured template engine for Python. Inspired by Django's templating system, it provides a more expressive language with powerful tools for template authors. Its features include, Full unicode support,An integrated sandboxed execution environment for running untrusted templates safely, An automatic HTML escaping system for preventing cross-site scripting, Template inheritance for reusing layout across templates.

Stars: 9916, Watchers: 9916, Forks: 1566, Open Issues: 112

The pallets/jinja repo was created 13 years ago and the last code push was Yesterday.
The project is extremely popular with a mindblowing 9916 github stars!

How to Install jinja2

You can install jinja2 using pip

pip install jinja2

or add it to a project with poetry

poetry add jinja2

Package Details

Author
License
BSD-3-Clause
Homepage
https://palletsprojects.com/p/jinja/
PyPi:
https://pypi.org/project/Jinja2/
Documentation:
https://jinja.palletsprojects.com/
GitHub Repo:
https://github.com/pallets/jinja

Classifiers

  • Internet/WWW/HTTP/Dynamic Content
  • Text Processing/Markup/HTML
No  jinja2  pypi packages just yet.

Errors

A list of common jinja2 errors.

Code Examples

Here are some jinja2 code examples and snippets.

GitHub Issues

The jinja2 package has 112 open issues on GitHub

  • custom filters with async_true enabled giving 'coroutine' object is not subscriptable error
  • Added items filter
  • Consider adding |items filter
  • Loop-variables are not accessable in @pass_context / @contextfilter
  • Allow custom escape

See more issues on GitHub

Related Packages & Articles

Flask 3.0.3

A simple framework for building complex web applications.

click 8.1.7

Composable command line interface toolkit