» Ubuntu » Packages » lucid (10.04LTS) » python » python-jinja
lucid  ] [  precise  ]
[ Source: jinja  ]

Package: python-jinja (1.2-3) [universe]

Links for python-jinja

Screenshot

Ubuntu Resources:

Download Source Package jinja:

Maintainer:

Please consider filing a bug or asking a question via Launchpad before contacting the maintainer directly.

Original Maintainers (usually from Debian):

It should generally not be necessary for users to contact the original maintainer.

External Resources:

Similar packages:

small but fast and easy to use stand-alone template engine

Jinja provides a Django-like non-XML syntax and compiles templates into executable Python code. It's basically a combination of Django templates and Python code.

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.

Features:

 * Simple API.
 * Extremely lightweight.
 * The whole engine is completely sandboxed. A template designer won't be able
   to modify application data or execute dangerous code
 * You can use nearly every Python expression. Not supported are the binary
   operators and list comprehensions / generator expressions.
 * Uses the same concept for inheritance Django uses. It's very powerful
   and easy to understand.
 * Provides so called macros that allow you to put often used template
   snippets into callable blocks
 * Designer friendly. Jinja simplifies many things for a template designer.
   Loops can be used in a recursive way, filters are available to format
   values, loops know about their iteration etc.
 * Dynamic syntax. You don't like the Django block syntax? You can override
   the syntax elements on environment initialisation. It's no problem to use
   ASP/PHP/Ruby syntax, html comments for blocks etc.

Other Packages Related to python-jinja

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.2.5) [amd64]
    Embedded GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.3.6-6~) [i386]
  • dep: python (<< 2.7)
    An interactive high-level object-oriented language (default version)
    dep: python (>= 2.6)
  • dep: python-support (>= 0.90.0)
    automated rebuilding support for Python modules

Download python-jinja

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 63.5 kB420.0 kB [list of files]
i386 63.1 kB420.0 kB [list of files]