[ 源代码: jinja2 ]
软件包:python3-jinja2(3.0.3-1~bpo11+1)
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
- 交互式高级面向对象语言(默认 python3 版本)
-
- dep: python3-babel
- tools for internationalizing Python applications - Python 3.x
-
- dep: python3-markupsafe (>= 2.0)
- HTML/XHTML/XML string library
-
- rec: python3-pkg-resources
- Package Discovery and Resource Access using pkg_resources
-
- sug: python-jinja2-doc
- documentation for the Jinja2 Python library