SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.
Name python-jinja2
Version 2.11.3
Category development
Description Stand-alone template engine.
Maintainer claudinei​@​slitaz.org
License BSD
Website https://pypi.org/project/Jinja2
Sizes
Depends onpython iconpython  python-markupsafe iconpython-markupsafe 
python-jinja2 screenshot
Download package python-jinja2 screenshot
Show receipt
Show files list
Show cooking log

Description

Jinja is a fast, expressive, extensible templating engine. Special placeholders in the template allow writing code similar to Python syntax. Then the template is passed data to render the final document.

It includes:

  • Template inheritance and inclusion.
  • Define and import macros within templates.
  • HTML templates can use autoescaping to prevent XSS from untrusted user input.
  • A sandboxed environment can safely render untrusted templates.
  • AsyncIO support for generating templates and calling async functions.
  • I18N support with Babel.
  • Templates are compiled to optimized Python code just-in-time and cached, or can be compiled ahead-of-time.
  • Exceptions point to the correct line in templates to make debugging easier.
  • Extensible filters, tests, functions, and even syntax.

Jinja's philosophy is that while application logic belongs in Python if possible, it shouldn't make the template designer's job difficult by restricting functionality too much.

6047 packages and 205722 files in current database (Sun Jun 16 09:23:30 2024)