Mako Description
It uses a familiar, non XML syntax and compiles into Python modules to maximize performance. Mako's syntax borrows from many other sources, including Jinja2 templates, Cheetah and Myghty, as well as the best ideas of Genshi and Django. Conceptually Mako is embedded Python (i.e. Python Server Page) language. It refines the familiar ideas o componentized layout and inheritance to create one of the most flexible and straightforward models. While still keeping close ties to Python scoping and calling semantics, Mako is conceptually an embedded Python (i.e. Mako's method is very efficient, and was originally designed to be as fast as Cheetah. Today Mako is very similar in speed to Jinja2, who uses a similar approach, and for which Mako was an inspiration. You can access variables from the template's request context as well as their enclosing scope.