Chameleon is an open-source template engine written in Python.
pyramid_chameleon
pyramid_chameleon API