comparison venv/lib/python2.7/site-packages/Jinja2-2.8.dist-info/METADATA @ 0:d67268158946 draft

planemo upload commit a3f181f5f126803c654b3a66dd4e83a48f7e203b
author bcclaywell
date Mon, 12 Oct 2015 17:43:33 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:d67268158946
1 Metadata-Version: 2.0
2 Name: Jinja2
3 Version: 2.8
4 Summary: A small but fast and easy to use stand-alone template engine written in pure python.
5 Home-page: http://jinja.pocoo.org/
6 Author: Armin Ronacher
7 Author-email: armin.ronacher@active-4.com
8 License: BSD
9 Platform: UNKNOWN
10 Classifier: Development Status :: 5 - Production/Stable
11 Classifier: Environment :: Web Environment
12 Classifier: Intended Audience :: Developers
13 Classifier: License :: OSI Approved :: BSD License
14 Classifier: Operating System :: OS Independent
15 Classifier: Programming Language :: Python
16 Classifier: Programming Language :: Python :: 2
17 Classifier: Programming Language :: Python :: 2.6
18 Classifier: Programming Language :: Python :: 2.7
19 Classifier: Programming Language :: Python :: 3
20 Classifier: Programming Language :: Python :: 3.3
21 Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
22 Classifier: Topic :: Software Development :: Libraries :: Python Modules
23 Classifier: Topic :: Text Processing :: Markup :: HTML
24 Requires-Dist: MarkupSafe
25 Provides-Extra: i18n
26 Requires-Dist: Babel (>=0.8); extra == 'i18n'
27
28 Jinja2
29 ~~~~~~
30
31 Jinja2 is a template engine written in pure Python. It provides a
32 `Django`_ inspired non-XML syntax but supports inline expressions and
33 an optional `sandboxed`_ environment.
34
35 Nutshell
36 --------
37
38 Here a small example of a Jinja template::
39
40 {% extends 'base.html' %}
41 {% block title %}Memberlist{% endblock %}
42 {% block content %}
43 <ul>
44 {% for user in users %}
45 <li><a href="{{ user.url }}">{{ user.username }}</a></li>
46 {% endfor %}
47 </ul>
48 {% endblock %}
49
50 Philosophy
51 ----------
52
53 Application logic is for the controller but don't try to make the life
54 for the template designer too hard by giving him too few functionality.
55
56 For more informations visit the new `Jinja2 webpage`_ and `documentation`_.
57
58 .. _sandboxed: http://en.wikipedia.org/wiki/Sandbox_(computer_security)
59 .. _Django: http://www.djangoproject.com/
60 .. _Jinja2 webpage: http://jinja.pocoo.org/
61 .. _documentation: http://jinja.pocoo.org/2/documentation/
62
63