Projects / HTMLTemplate

HTMLTemplate

HTMLTemplate converts (X)HTML templates into simple object models controlled by callback functions defined in your Python code. Conceptually similar to DOM (but much simpler), it provides complete separation between HTML markup and presentation logic. It boasts an excellent power-to-weight ratio thanks to its lightweight DOM-inspired design: the implementation and API are extremely simple and compact, yet powerful, flexible, and easy to modify and/or use.

Tags
Licenses
Implementation

RSS Recent releases

  •  28 Oct 2008 18:22

Release Notes: This release makes minor API improvements and converts all documentation and tutorials to HTML format.

  •  20 Oct 2006 10:38

Release Notes: This release fixes a minor typo in the HTMLTemplate manual, and adds the MIT license text to the HTMLTemplate.py file.

  •  24 Mar 2006 07:43

Release Notes: This release switches HTMLTemplate from the LGPL to the MIT License.

  •  08 Jan 2006 13:02

Release Notes: Fixes a bug in 1.4.0's attribute value escaping.

  •  26 Nov 2005 11:38

Release Notes: Tag attributes' values are now escaped as HTML entities. An optional "warnings" parameter was added to the Template constructor. HTMLParser is now prevented from decoding some HTML entities in attribute values when parsing template markup.

Screenshot

Project Spotlight

OxStore

A key/value database.

Screenshot

Project Spotlight

Vaadin

A Java framework for building modern Web applications.