Python-based templating system derived from HTML::Mason