Contents

Jinja2 3.1.4

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: 10288, Watchers: 10288, Forks: 1611, Open Issues: 123

The pallets/jinja repo was created 14 years ago and the last code push was 1 months ago.
The project is extremely popular with a mindblowing 10288 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
None
License
None
Homepage
None
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 123 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