Chameleon template compiler for pyramid