For many purposes, it is useful to use templating engines. Looking for emgines I found the following site: http://wiki.python.de/Template-Engines.
That said it is a good question for me to know the aspects a template engine should have. Here are a few features I should look forward to:
- expression's language
- method chaining
- macros
- includes
Of course the more a language has features, the more complex can be the design or templating languages for developers. Moreover, the features may allow unwanted actions, therefore, it is important to make sure that these unwanted actions are limited.