Jinja2


NameJinja2 JSON
Version 2.9.6 PyPI version JSON
download
home_pagehttp://jinja.pocoo.org/
SummaryA small but fast and easy to use stand-alone template engine written in pure python.
upload_time2017-04-03 13:11:24
maintainer
docs_urlNone
authorArmin Ronacher
requires_python
licenseBSD
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
Jinja2
~~~~~~

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.

Nutshell
--------

Here a small example of a Jinja template::

    {% extends 'base.html' %}
    {% block title %}Memberlist{% endblock %}
    {% block content %}
      <ul>
      {% for user in users %}
        <li><a href="{{ user.url }}">{{ user.username }}</a></li>
      {% endfor %}
      </ul>
    {% endblock %}

Philosophy
----------

Application logic is for the controller but don't try to make the life
for the template designer too hard by giving him too few functionality.

For more informations visit the new `Jinja2 webpage`_ and `documentation`_.

.. _sandboxed: http://en.wikipedia.org/wiki/Sandbox_(computer_security)
.. _Django: http://www.djangoproject.com/
.. _Jinja2 webpage: http://jinja.pocoo.org/
.. _documentation: http://jinja.pocoo.org/2/documentation/

            

Raw data

            {
    "maintainer": "", 
    "docs_url": null, 
    "requires_python": "", 
    "maintainer_email": "", 
    "cheesecake_code_kwalitee_id": null, 
    "keywords": "", 
    "upload_time": "2017-04-03 13:11:24", 
    "author": "Armin Ronacher", 
    "home_page": "http://jinja.pocoo.org/", 
    "download_url": "https://pypi.python.org/packages/90/61/f820ff0076a2599dd39406dcb858ecb239438c02ce706c8e91131ab9c7f1/Jinja2-2.9.6.tar.gz", 
    "platform": "", 
    "version": "2.9.6", 
    "cheesecake_documentation_id": null, 
    "description": "\nJinja2\n~~~~~~\n\nJinja2 is a template engine written in pure Python.  It provides a\n`Django`_ inspired non-XML syntax but supports inline expressions and\nan optional `sandboxed`_ environment.\n\nNutshell\n--------\n\nHere a small example of a Jinja template::\n\n    {% extends 'base.html' %}\n    {% block title %}Memberlist{% endblock %}\n    {% block content %}\n      <ul>\n      {% for user in users %}\n        <li><a href=\"{{ user.url }}\">{{ user.username }}</a></li>\n      {% endfor %}\n      </ul>\n    {% endblock %}\n\nPhilosophy\n----------\n\nApplication logic is for the controller but don't try to make the life\nfor the template designer too hard by giving him too few functionality.\n\nFor more informations visit the new `Jinja2 webpage`_ and `documentation`_.\n\n.. _sandboxed: http://en.wikipedia.org/wiki/Sandbox_(computer_security)\n.. _Django: http://www.djangoproject.com/\n.. _Jinja2 webpage: http://jinja.pocoo.org/\n.. _documentation: http://jinja.pocoo.org/2/documentation/\n", 
    "lcname": "jinja2", 
    "bugtrack_url": null, 
    "github": false, 
    "name": "Jinja2", 
    "license": "BSD", 
    "summary": "A small but fast and easy to use stand-alone template engine written in pure python.", 
    "split_keywords": [], 
    "author_email": "armin.ronacher@active-4.com", 
    "urls": [
        {
            "has_sig": false, 
            "upload_time": "2017-04-03T13:11:27", 
            "comment_text": "", 
            "python_version": "2.7", 
            "url": "https://pypi.python.org/packages/5e/73/10c45b82a88ed6b7751bd40da31eeefd7b362e07b56a99aa6e56655a0794/Jinja2-2.9.6-py2.py3-none-any.whl", 
            "md5_digest": "61a215bcdb0f7939c70582bc00b293f1", 
            "downloads": 0, 
            "filename": "Jinja2-2.9.6-py2.py3-none-any.whl", 
            "packagetype": "bdist_wheel", 
            "path": "5e/73/10c45b82a88ed6b7751bd40da31eeefd7b362e07b56a99aa6e56655a0794/Jinja2-2.9.6-py2.py3-none-any.whl", 
            "size": 340680
        }, 
        {
            "has_sig": false, 
            "upload_time": "2017-04-03T13:11:24", 
            "comment_text": "", 
            "python_version": "source", 
            "url": "https://pypi.python.org/packages/90/61/f820ff0076a2599dd39406dcb858ecb239438c02ce706c8e91131ab9c7f1/Jinja2-2.9.6.tar.gz", 
            "md5_digest": "6411537324b4dba0956aaa8109f3c77b", 
            "downloads": 0, 
            "filename": "Jinja2-2.9.6.tar.gz", 
            "packagetype": "sdist", 
            "path": "90/61/f820ff0076a2599dd39406dcb858ecb239438c02ce706c8e91131ab9c7f1/Jinja2-2.9.6.tar.gz", 
            "size": 437659
        }
    ], 
    "_id": null, 
    "cheesecake_installability_id": null
}