[ 原始碼: jinja2 ]
套件:python3-jinja2(2.11.3-1 deb11u2) [security]
small but fast and easy to use stand-alone template engine
Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment.
The key-features are:
* Configurable syntax. If you are generating LaTeX or other formats with Jinja2 you can change the delimiters to something that integrates better into the LaTeX markup. * Fast. While performance is not the primarily target of Jinja2 it’s surprisingly fast. The overhead compared to regular Python code was reduced to the very minimum. * Easy to debug. Jinja2 integrates directly into the Python traceback system which allows you to debug Jinja2 templates with regular Python debugging helpers. * Secure. It’s possible to evaluate untrusted template code if the optional sandbox is enabled. This allows Jinja2 to be used as templating language for applications where users may modify the template design.
其他與 python3-jinja2 有關的套件
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-markupsafe
- HTML/XHTML/XML string library for Python 3
-
- rec: python3-pkg-resources
- Package Discovery and Resource Access using pkg_resources
-
- sug: python-jinja2-doc
- documentation for the Jinja2 Python library