python-jinja2 - small but fast and easy to use stand-alone template engine

Property Value
Distribution Debian 10 (Buster)
Repository Debian Main amd64
Package filename python-jinja2_2.10-2_all.deb
Package name python-jinja2
Package version 2.10
Package release 2
Package architecture all
Package type deb
Category devel::lang:python devel::library implemented-in::c implemented-in::python python role::devel-lib role::program role::shared-lib works-with::text
License -
Maintainer Piotr Ożarowski <>
Download size 103.32 KB
Installed size 476.00 KB
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
* 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.


Package Version Architecture Repository
python-jinja2_2.10-2_all.deb 2.10 all Debian Main
python-jinja2 - - -


Name Value
python-markupsafe -
python:any >= 2.7~
python:any << 2.8


Type URL
Binary Package python-jinja2_2.10-2_all.deb
Source Package jinja2

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install python-jinja2 deb package:
    # sudo apt-get install python-jinja2




2019-04-09 - Piotr Ożarowski <>
jinja2 (2.10-2) unstable; urgency=high
[ Thomas Goirand ]
* CVE-2019-10906: In Pallets Jinja before 2.10.1, str.format_map allows a
sandbox escape. Applied upstream patch: sandbox_str.format_map.patch
(Closes: #926602).
2017-11-30 - Piotr Ożarowski <>
jinja2 (2.10-1) unstable; urgency=medium
* New upstream release
* Add python3-sphinx to Build-Depends and invoke dh_sphinxdoc after building
* Standards-version bumped to 4.1.1
- -doc package's Priority changed to optional
2017-06-20 - Piotr Ożarowski <>
jinja2 (2.9.6-1) unstable; urgency=medium
[ Piotr Ożarowski ]
* New upstream release
* Install CHANGES file as upstream changelog (closes: 857722)
* Standards-version bumped to 4.0.0 (no other changes needed)
[ Michael Hudson-Doyle ]
* Install and now that Python 3.6 is a
supported version (but do not compile them on install with Python 3.5).
(closes: 862699)
2017-02-07 - Piotr Ożarowski <>
jinja2 (2.9.5-1) unstable; urgency=medium
* New upstream release
- restores original repr of the internal _GroupTuple which fixes ansible
(closes: 851741)
2017-01-10 - Piotr Ożarowski <>
jinja2 (2.9.4-1) unstable; urgency=medium
[ Ondřej Nový ]
* Fixed VCS URL (https)
[ Piotr Ożarowski ]
* New upstream release
- do not install async* files, they require Python >= 3.6
* Standards-version bumped to 3.9.8 (no other changes needed)
2015-08-01 - Piotr Ożarowski <>
jinja2 (2.8-1) unstable; urgency=medium
* New upstream release
- drop jinja2-typos and drop_next_import_from_docs-jinjaext patches - both
applied upstream
* rewrite debian/rules to dh sequencer and pybuild buildsystem
* Standards-version bumped to 3.9.6 (no other changes needed)
2014-06-10 - Piotr Ożarowski <>
jinja2 (2.7.3-1) unstable; urgency=medium
* New upstream release
* Drop fix_CVE-2014-0012.patch (better fix applied upstream)
* Homepage updated
2014-01-12 - Piotr Ożarowski <>
jinja2 (2.7.2-2) unstable; urgency=high
* Add fix_CVE-2014-1402 patch which uses tempfile.mkdtemp to create
cache dir (closes: 734956)
2014-01-10 - Piotr Ożarowski <>
jinja2 (2.7.2-1) unstable; urgency=high
* New upstream release
- changes default folder for the filesystem cache (closes: 734747,
2013-08-08 - Piotr Ożarowski <>
jinja2 (2.7.1-1) unstable; urgency=low
* New upstream release

See Also

Package Description
python-jira-doc_2.0.0-1_all.deb JIRA Python library (common documentation)
python-jira_2.0.0-1_all.deb JIRA Python library (Python 2)
python-jmespath_0.9.4-1_all.deb JSON Matching Expressions (Python 2)
python-joblib_0.13.0-2_all.deb tools to provide lightweight pipelining in Python
python-josepy-doc_1.1.0-2_all.deb JOSE implementation for Python - Documentation
python-josepy_1.1.0-2_all.deb JOSE implementation for Python 2.x
python-jpy_0.9.0-2_amd64.deb Bi-directional Python-Java bridge
python-jpylyzer-doc_1.18.0-3_all.deb JP2 (JPEG 2000 Part 1) validator and properties extractor - doc
python-jpylyzer_1.18.0-3_all.deb JP2 (JPEG 2000 Part 1) validator and properties extractor
python-jpype_0.6.3+dfsg-1+b1_amd64.deb Binding the worlds of Java and Python (for Python 2)
python-jsbeautifier_1.6.4-7_all.deb JavaScript unobfuscator and beautifier (python2)
python-jsmin_2.2.2-1_all.deb JavaScript minifier written in Python - Python 2.x
python-json-pointer-doc_1.10-1_all.deb resolve JSON pointers - doc
python-json-pointer_1.10-1_all.deb resolve JSON pointers - Python 2.7
python-json-tricks_3.11.0-1_all.deb Python module with extra features for JSON files