You Are Here Home > PML - A Python template engine

PML - A Python template engine

I finally decided to release PML as an open source software. I developed this template engine for a project that unfortunately never happened using Python.

Here is a sample application using PML and Yahoo! Search API:
http://web-search.code-head.com/

You can download it here:

[D O W N L O A D]

The web search example is also included in the download.

PML was written to be fast, simple and compact. Here are some of it’s features:
1 - Template filters
2 - Output filters
3 - Template variable filters
4 - Template cache - default
5 - Bytecode cache - default
6 - Complete output buffer cache
7 - Garbage collection
8 - Output compression - GZIP
9 - A powerful, quick compiler
10 - Ability to add helpers easily
11 - Ability to add custom compiler tags
12 - Auto escaping your variables, even lists, dicts, and tuples
13 - Compile templates once until you edit them

And more.

I will write a tutorial in my next post.

Filed under: Programming, Python, Web Design, Web Development   Posted by: Codehead on March 31, 2009

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment