Python Source
A
Ajax
Aspect-Oriented
 
B
Bloggers
Build Systems
 
C
CMS
Charting & Reporting
Code Analyzers
Connection Pools
 
D
Databases
 
E
ERP & CRM
ESB
 
F
Forum Soft
 
G
General Purpose
 
H
HTML Parsers
 
I
IDEs
Installers
Issue Tracking
 
L
Logging Tools
 
N
Network Clients
Network Servers
 
P
PDF Libraries
Parser Generators
Persistence
Project Management
 
R
RSS & RDF Tools
 
S
Search Engines
Security
Source Control
 
T
Template Engines
Testing Tools
 
W
Web Frameworks
Web Mail
Web Servers
Web Services
Web Testing
Wiki Engines
Workflow Engines
 
X
XML Parsers
 

Open Source Template Engines in Python

Cheetah

Cheetah is an open source template engine and code generation tool, written in Python. It can be used standalone or combined with other tools and frameworks. Web development is its principle use, but Cheetah is very flexible and is also being used to generate C++ game code, Java, sql, form emails and even Python code.

Go To Cheetah

Jinja

Jinja is a template engine written in pure Python licensed under the BSD license. It 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.

Go To Jinja

Breve

Brevé is a Python template engine that is designed to be clean and elegant with minimal syntax. Brevé templates are actual Python expressions.

Go To Breve

ClearSilver

Clearsilver is a fast, powerful, and language-neutral HTML template system. In both static content sites and dynamic HTML applications, it provides a separation between presentation code and application logic which makes working with your project easier.

Go To ClearSilver

Webstring

webstring is a template engine for programmers whose favorite template language is Python. webstring can be used to generate any text format from a template with the additional advantage of advanced XML and HTML templating using the lxml and cElementTree libraries.

Go To Webstring

Myghty

Myghty is a Python based templating framework originally based on HTML::Mason, the enterprise-level framework used by Amazon.com, del.icio.us and Salon.com, among many others. Myghty fully implements Mason's templating language, component-based architecture, and caching system, and goes beyond, adding new paradigms such the Module Components controller paradigm, full Python whitespace syntax, threading support, WSGI support, session support, and much more.

Go To Myghty

Ophelia

Ophelia is a Python package that assembles XHTML pages from templates. It is used on a web server to generate each page at the moment it is requested.

Go To Ophelia

Mako

Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules for maximum performance. Mako's syntax and API borrows from the best ideas of many others, including Django templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded Python (i.e. Python Server Page) language, which refines the familiar ideas of componentized layout and inheritance to produce one of the most straightforward and flexible models available, while also maintaining close ties to Python calling and scoping semantics.

Go To Mako

Genshi

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.

Go To Genshi