Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
PyPI

Jinja2 2.11.3

pip install Jinja2==2.11.3

Newer version available (3.1.6)

Released:

A very fast and expressive template engine.

Verified details

These details have beenverified by PyPI
Owner

Unverified details

These details havenot been verified by PyPI
Project links
Meta
  • License: BSD License (BSD-3-Clause)
  • Author:Armin Ronacher
  • Maintainer:Pallets
  • Requires: Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*

Project description

Jinja is a fast, expressive, extensible templating engine. Specialplaceholders in the template allow writing code similar to Pythonsyntax. 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 untrusteduser input.

  • A sandboxed environment can safely render untrusted templates.

  • AsyncIO support for generating templates and calling asyncfunctions.

  • I18N support with Babel.

  • Templates are compiled to optimized Python code just-in-time andcached, or can be compiled ahead-of-time.

  • Exceptions point to the correct line in templates to make debuggingeasier.

  • Extensible filters, tests, functions, and even syntax.

Jinja’s philosophy is that while application logic belongs in Python ifpossible, it shouldn’t make the template designer’s job difficult byrestricting functionality too much.

Installing

Install and update usingpip:

$ pip install -U Jinja2

In A Nutshell

{%extends"base.html"%}{%blocktitle%}Members{%endblock%}{%blockcontent%}  <ul>{%foruserinusers%}    <li><a href="{{user.url}}">{{user.username}}</a></li>{%endfor%}  </ul>{%endblock%}

Project details

Verified details

These details have beenverified by PyPI
Owner

Unverified details

These details havenot been verified by PyPI
Project links
Meta
  • License: BSD License (BSD-3-Clause)
  • Author:Armin Ronacher
  • Maintainer:Pallets
  • Requires: Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*

Release historyRelease notifications |RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more aboutinstalling packages.

Source Distribution

Jinja2-2.11.3.tar.gz (257.6 kBview details)

UploadedSource

Built Distribution

Jinja2-2.11.3-py2.py3-none-any.whl (125.7 kBview details)

UploadedPython 2Python 3

File details

Details for the fileJinja2-2.11.3.tar.gz.

File metadata

  • Download URL: Jinja2-2.11.3.tar.gz
  • Upload date:
  • Size: 257.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for Jinja2-2.11.3.tar.gz
AlgorithmHash digest
SHA256a6d58433de0ae800347cab1fa3043cebbabe8baa9d29e668f1c768cb87a333c6
MD5231dc00d34afb2672c497713fa9cdaaa
BLAKE2b-2564fe765300e6b32e69768ded990494809106f87da1d436418d5f1367ed3966fd7

See more details on using hashes here.

File details

Details for the fileJinja2-2.11.3-py2.py3-none-any.whl.

File metadata

  • Download URL: Jinja2-2.11.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 125.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for Jinja2-2.11.3-py2.py3-none-any.whl
AlgorithmHash digest
SHA25603e47ad063331dd6a3f04a43eddca8a966a26ba0c5b7207a9a9e4e08f1b29419
MD58e733c6f4cdef7f6a336299e8e548dfa
BLAKE2b-2567ec21eece8c95ddbc9b1aeb64f5783a9e07a286de42191b7204d67b7496ddf35

See more details on using hashes here.

Supported by

AWSAWS Cloud computing and Security SponsorDatadogDatadog MonitoringFastlyFastly CDNGoogleGoogle Download AnalyticsPingdomPingdom MonitoringSentrySentry Error loggingStatusPageStatusPage Status page

[8]ページ先頭

©2009-2025 Movatter.jp