Tempita is a small templating language for text substitution. It is
meant for projects that require a bit more power than string.Template or
% substitution.

Homepage:
https://github.com/TurboGears/tempita
