jinja2: General purpose template engine for Python#

Description#

Jinja2 is a library for Python 2.4 and onwards that is designed to be flexible, fast and secure.

If you have any exposure to other text-based template languages, such as Smarty or Django, you should feel right at home with Jinja2. It’s both designer and developer friendly by sticking to Python’s principles and adding functionality useful for templating environments.

License#

Modified BSD License

Upstream Contact#

Author: Pocoo Team <http://pocoo.org>

Homepage: http://jinja.pocoo.org/

Special Update/Build Instructions#

None. (Just make sure its prerequisites are new enough in Sage, to avoid downloads during the build / installation.)

Type#

standard

Dependencies#

Version Information#

package-version.txt:

3.1.2

install-requires.txt:

jinja2 >=3.0
# for sphinx

Equivalent System Packages#

conda:

$ conda install  jinja2

Debian/Ubuntu:

$ sudo apt-get install  python3-jinja2

Fedora/Redhat/CentOS:

$ sudo yum install  python-jinja2

gentoo:

$ sudo emerge dev-python/jinja

macports: install the following packages: py-jinja2

opensuse:

$ sudo zypper install python3${PYTHON_MINOR}-jinja2

void:

$ sudo xbps-install  python3-Jinja2

See https://repology.org/project/python:jinja2/versions

If the system package is installed and if the (experimental) option –enable-system-site-packages is passed to ./configure, then ./configure will check if the system package can be used.