Python Template Systems

Background Information

Most of these Web Template Systems can be applied to any text-based document, not just web pages, but that is the main purpose I consider them for here.

A Web template system describes the software and methodologies used to produce web pages and for deployment on websites and delivery over the Internet. Such systems process web templates, using a template engine. It is a web publishing tool present in content management systems, software frameworks, HTML editors, and many other contexts.
-- Wikipedia

In case it's not clear to you programmers, a template system is to authoring web pages what include files, macros, and inheritance are to writing programs. It has the potential to take a lot of drudgery out of writing web pages, since having a consistent "look and feel" to your pages requires each page to share some stuff with other pages.

These are all written in python, for python programmers. I do not know if they can be processed by tools written in other languages, though it is theoretically possible.

Related Pages

Templates: The Right Amount of Push

The Template Systems

Django Templates


Cheetah Template Engine

Mako Templates


Genshi is a Python library that provides an integrated set of components for parsing, generating, and processing HTML, XML or other textual content for output generation on the web.

The main feature is a template language that is smart about markup: unlike conventional template languages that only deal with bytes and (if you're lucky) characters, Genshi knows the difference between tags, attributes, and actual text nodes, and uses that knowledge to your advantage. [...]

Kid Templating

Zope Page Templates


TODO: finish this