Name Date Size

..25-Oct-20244 KiB

__init__.pyH A D25-Oct-20241.5 KiB

_compat.pyH A D25-Oct-20243.1 KiB

_identifier.pyH A D25-Oct-20241.7 KiB

asyncfilters.pyH A D25-Oct-20244.2 KiB

asyncsupport.pyH A D25-Oct-20247 KiB

bccache.pyH A D25-Oct-202411.9 KiB

compiler.pyH A D25-Oct-202464.7 KiB

constants.pyH A D25-Oct-20241.4 KiB

debug.pyH A D25-Oct-20248.3 KiB

defaults.pyH A D25-Oct-20241.1 KiB

DIR_METADATAH A D25-Oct-202497

environment.pyH A D25-Oct-202449.4 KiB

exceptions.pyH A D25-Oct-20245.3 KiB

ext.pyH A D25-Oct-202425.8 KiB

filters.pyH A D25-Oct-202440.5 KiB

idtracking.pyH A D25-Oct-20249 KiB

Jinja2-2.11.3.tar.gz.md5H A D25-Oct-202455

Jinja2-2.11.3.tar.gz.sha512H A D25-Oct-2024151

jinja2.gniH A D25-Oct-20241.3 KiB

lexer.pyH A D25-Oct-202429.6 KiB

LICENSE.rstH A D25-Oct-20241.4 KiB

loaders.pyH A D25-Oct-202417.3 KiB

meta.pyH A D25-Oct-20244 KiB

nativetypes.pyH A D25-Oct-20242.7 KiB

nodes.pyH A D25-Oct-202430.4 KiB

optimizer.pyH A D25-Oct-20241.4 KiB

OWNERSH A D25-Oct-202484

parser.pyH A D25-Oct-202434.8 KiB

patches/H25-Oct-20244 KiB

README.chromiumH A D25-Oct-2024962

README.rstH A D25-Oct-20241.8 KiB

runtime.pyH A D25-Oct-202429.9 KiB

sandbox.pyH A D25-Oct-202416.7 KiB

tests.pyH A D25-Oct-20244.7 KiB

utils.pyH A D25-Oct-202421.9 KiB

visitor.pyH A D25-Oct-20243.2 KiB

README.chromium

1Name: Jinja2 Python Template Engine
2Short Name: jinja2
3URL: https://jinja.palletsprojects.com/
4Version: 2.11.3
5CPEPrefix: cpe:/a:pocoo:jinja2:2.11.3
6License: BSD 3-Clause
7License File: LICENSE.rst
8Security Critical: no
9
10Description:
11Template engine for code generation in Blink.
12
13Source: https://files.pythonhosted.org/packages/4f/e7/65300e6b32e69768ded990494809106f87da1d436418d5f1367ed3966fd7/Jinja2-2.11.3.tar.gz
14MD5: 231dc00d34afb2672c497713fa9cdaaa
15SHA-512: fce4f835795fe9afb622f8106f60344032a811f3f693806f31ba482f9b7c1400f93dfa1701b4db0b472cbed4b0793cb329778c8091811ef0e3b577150d28e004
16
17Local Modifications:
18This only includes the src/jinja2/ directory from the tarball and the
19LICENSE.rst and README.rst files.  Other files have been removed.
20Additional chromium-specific files are:
21* README.chromium (this file)
22* OWNERS
23* jinja2.gni
24* files of hashes (MD5 is also posted on website, SHA-512 computed locally).
25* patches/*.patch for local modifications.
26

README.rst

1Jinja
2=====
3
4Jinja is a fast, expressive, extensible templating engine. Special
5placeholders in the template allow writing code similar to Python
6syntax. Then the template is passed data to render the final document.
7
8It includes:
9
10-   Template inheritance and inclusion.
11-   Define and import macros within templates.
12-   HTML templates can use autoescaping to prevent XSS from untrusted
13    user input.
14-   A sandboxed environment can safely render untrusted templates.
15-   AsyncIO support for generating templates and calling async
16    functions.
17-   I18N support with Babel.
18-   Templates are compiled to optimized Python code just-in-time and
19    cached, or can be compiled ahead-of-time.
20-   Exceptions point to the correct line in templates to make debugging
21    easier.
22-   Extensible filters, tests, functions, and even syntax.
23
24Jinja's philosophy is that while application logic belongs in Python if
25possible, it shouldn't make the template designer's job difficult by
26restricting functionality too much.
27
28
29Installing
30----------
31
32Install and update using `pip`_:
33
34.. code-block:: text
35
36    $ pip install -U Jinja2
37
38.. _pip: https://pip.pypa.io/en/stable/quickstart/
39
40
41In A Nutshell
42-------------
43
44.. code-block:: jinja
45
46    {% extends "base.html" %}
47    {% block title %}Members{% endblock %}
48    {% block content %}
49      <ul>
50      {% for user in users %}
51        <li><a href="{{ user.url }}">{{ user.username }}</a></li>
52      {% endfor %}
53      </ul>
54    {% endblock %}
55
56
57Links
58-----
59
60-   Website: https://palletsprojects.com/p/jinja/
61-   Documentation: https://jinja.palletsprojects.com/
62-   Releases: https://pypi.org/project/Jinja2/
63-   Code: https://github.com/pallets/jinja
64-   Issue tracker: https://github.com/pallets/jinja/issues
65-   Test status: https://dev.azure.com/pallets/jinja/_build
66-   Official chat: https://discord.gg/t6rrQZH
67