Name Date Size

..25-Oct-20244 KiB

.editorconfigH A D25-Oct-2024217

.flake8H A D25-Oct-2024652

.gitattributesH A D25-Oct-2024631

.github/H25-Oct-20244 KiB

.gitignoreH A D25-Oct-2024178

.pre-commit-config.yamlH A D25-Oct-2024898

.readthedocs.yamlH A D25-Oct-2024209

__init__.pyH A D25-Oct-20241.9 KiB

_compat.pyH A D25-Oct-20243.1 KiB

_identifier.pyH A D25-Oct-20241.9 KiB

async_utils.pyH A D25-Oct-20242.4 KiB

asyncfilters.pyH A D25-Oct-20244.2 KiB

asyncsupport.pyH A D25-Oct-20247 KiB

bccache.pyH A D25-Oct-202413.7 KiB

bundle.jsonH A D25-Oct-2024930

CHANGES.rstH A D25-Oct-202438.6 KiB

CODE_OF_CONDUCT.mdH A D25-Oct-20243.3 KiB

compiler.pyH A D25-Oct-202470.5 KiB

constants.pyH A D25-Oct-20241.4 KiB

CONTRIBUTING.rstH A D25-Oct-20246.4 KiB

debug.pyH A D25-Oct-20246.2 KiB

defaults.pyH A D25-Oct-20241.2 KiB

environment.pyH A D25-Oct-202459.8 KiB

exceptions.pyH A D25-Oct-20245 KiB

ext.pyH A D25-Oct-202431.1 KiB

filters.pyH A D25-Oct-202452.6 KiB

idtracking.pyH A D25-Oct-202410.5 KiB

jinja2.gniH A D25-Oct-20241 KiB

lexer.pyH A D25-Oct-202429 KiB

LICENSE.rstH A D25-Oct-20241.4 KiB

loaders.pyH A D25-Oct-202422.5 KiB

MANIFEST.inH A D25-Oct-2024182

meta.pyH A D25-Oct-20244.3 KiB

nativetypes.pyH A D25-Oct-20244.1 KiB

nodes.pyH A D25-Oct-202433.7 KiB

NOTICEH A D25-Oct-20241.4 KiB

OAT.xmlH A D25-Oct-20243.8 KiB

optimizer.pyH A D25-Oct-20241.6 KiB

parser.pyH A D25-Oct-202438.8 KiB

py.typedH A D25-Oct-20240

README.modificationH A D25-Oct-2024597

README.OpenSourceH A D25-Oct-2024454

README.rstH A D25-Oct-20242.1 KiB

runtime.pyH A D25-Oct-202432.6 KiB

sandbox.pyH A D25-Oct-202414.2 KiB

setup.cfgH A D25-Oct-20242 KiB

setup.pyH A D25-Oct-2024221

tests.pyH A D25-Oct-20245.8 KiB

tox.iniH A D25-Oct-2024553

utils.pyH A D25-Oct-202423.4 KiB

visitor.pyH A D25-Oct-20243.5 KiB

README.modification

1Name: Jinja2
2Version: 2.11.1
3License: BSD 3-clause License
4
5Website: http://jinja.pocoo.org/
6
7Description:(from Website)
8Jinja2 is a full-featured template engine for Python. It has full unicode
9support, an optional integrated sandboxed execution environment, widely used
10and BSD licensed.
11
12
13Source:
14https://files.pythonhosted.org/packages/d8/03/e491f423379ea14bb3a02a5238507f7d446de639b623187bccc111fbecdf/Jinja2-2.11.1.tar.gz
15MD5: 5d88c7e77aa63fc852a04f65dbfe5594
16
17Local Modifications:
18Only includes the jinja2 directory from the tarball and the LICENSE and
19AUTHORS files, removing other stuff.
20

README.OpenSource

1[
2    {
3        "Name": "Jinja2",
4        "License": "BSD 3-clause License",
5        "License File": "LICENSE.rst",
6        "Version Number": "3.1.3",
7        "Owner": "anguanglin@huawei.com",
8        "Upstream URL": "https://github.com/pallets/jinja",
9        "Description": "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."
10    }
11]
12

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/getting-started/
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
57Donate
58------
59
60The Pallets organization develops and supports Jinja and other popular
61packages. In order to grow the community of contributors and users, and
62allow the maintainers to devote more time to the projects, `please
63donate today`_.
64
65.. _please donate today: https://palletsprojects.com/donate
66
67
68Links
69-----
70
71-   Documentation: https://jinja.palletsprojects.com/
72-   Changes: https://jinja.palletsprojects.com/changes/
73-   PyPI Releases: https://pypi.org/project/Jinja2/
74-   Source Code: https://github.com/pallets/jinja/
75-   Issue Tracker: https://github.com/pallets/jinja/issues/
76-   Chat: https://discord.gg/pallets
77