texttemplate converts text templates into simple object models that can be manipulated by ordinary Python scripts. It's loosely based on HTMLTemplate.