SHPAML - A productive HTML generator (like HAML but in Python)
SHPAML is a mini language that can help you to build web pages more quickly. It leverages familiar concepts from HTML and CSS, while striving to bring brevity and clarity to the primary documents that you edit. It plays nice with templating languages. It was written by Steve Howell.
Please see the site for authorative info (like examples, docs, license, etc).
Installing from Github
$ git clone git://github.com/dsc/shpaml.git $ python shpaml/setup.py install
Or with pip:
$ pip install -e git://github.com/dsc/shpaml.git#egg=shpaml
$ git clone git://github.com/dsc/shpaml.git $ easy_install shpaml
They all end up doing the same thing, more or less.