comparison env/lib/python3.9/site-packages/Jinja2-2.11.3.dist-info/METADATA @ 0:4f3585e2f14b draft default tip

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4f3585e2f14b
1 Metadata-Version: 2.1
2 Name: Jinja2
3 Version: 2.11.3
4 Summary: A very fast and expressive template engine.
5 Home-page: https://palletsprojects.com/p/jinja/
6 Author: Armin Ronacher
7 Author-email: armin.ronacher@active-4.com
8 Maintainer: Pallets
9 Maintainer-email: contact@palletsprojects.com
10 License: BSD-3-Clause
11 Project-URL: Documentation, https://jinja.palletsprojects.com/
12 Project-URL: Code, https://github.com/pallets/jinja
13 Project-URL: Issue tracker, https://github.com/pallets/jinja/issues
14 Platform: UNKNOWN
15 Classifier: Development Status :: 5 - Production/Stable
16 Classifier: Environment :: Web Environment
17 Classifier: Intended Audience :: Developers
18 Classifier: License :: OSI Approved :: BSD License
19 Classifier: Operating System :: OS Independent
20 Classifier: Programming Language :: Python
21 Classifier: Programming Language :: Python :: 2
22 Classifier: Programming Language :: Python :: 2.7
23 Classifier: Programming Language :: Python :: 3
24 Classifier: Programming Language :: Python :: 3.5
25 Classifier: Programming Language :: Python :: 3.6
26 Classifier: Programming Language :: Python :: 3.7
27 Classifier: Programming Language :: Python :: 3.8
28 Classifier: Programming Language :: Python :: Implementation :: CPython
29 Classifier: Programming Language :: Python :: Implementation :: PyPy
30 Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
31 Classifier: Topic :: Software Development :: Libraries :: Python Modules
32 Classifier: Topic :: Text Processing :: Markup :: HTML
33 Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
34 Description-Content-Type: text/x-rst
35 Requires-Dist: MarkupSafe (>=0.23)
36 Provides-Extra: i18n
37 Requires-Dist: Babel (>=0.8) ; extra == 'i18n'
38
39 Jinja
40 =====
41
42 Jinja is a fast, expressive, extensible templating engine. Special
43 placeholders in the template allow writing code similar to Python
44 syntax. Then the template is passed data to render the final document.
45
46 It includes:
47
48 - Template inheritance and inclusion.
49 - Define and import macros within templates.
50 - HTML templates can use autoescaping to prevent XSS from untrusted
51 user input.
52 - A sandboxed environment can safely render untrusted templates.
53 - AsyncIO support for generating templates and calling async
54 functions.
55 - I18N support with Babel.
56 - Templates are compiled to optimized Python code just-in-time and
57 cached, or can be compiled ahead-of-time.
58 - Exceptions point to the correct line in templates to make debugging
59 easier.
60 - Extensible filters, tests, functions, and even syntax.
61
62 Jinja's philosophy is that while application logic belongs in Python if
63 possible, it shouldn't make the template designer's job difficult by
64 restricting functionality too much.
65
66
67 Installing
68 ----------
69
70 Install and update using `pip`_:
71
72 .. code-block:: text
73
74 $ pip install -U Jinja2
75
76 .. _pip: https://pip.pypa.io/en/stable/quickstart/
77
78
79 In A Nutshell
80 -------------
81
82 .. code-block:: jinja
83
84 {% extends "base.html" %}
85 {% block title %}Members{% endblock %}
86 {% block content %}
87 <ul>
88 {% for user in users %}
89 <li><a href="{{ user.url }}">{{ user.username }}</a></li>
90 {% endfor %}
91 </ul>
92 {% endblock %}
93
94
95 Links
96 -----
97
98 - Website: https://palletsprojects.com/p/jinja/
99 - Documentation: https://jinja.palletsprojects.com/
100 - Releases: https://pypi.org/project/Jinja2/
101 - Code: https://github.com/pallets/jinja
102 - Issue tracker: https://github.com/pallets/jinja/issues
103 - Test status: https://dev.azure.com/pallets/jinja/_build
104 - Official chat: https://discord.gg/t6rrQZH
105
106