#!/usr/bin/env python # -*- coding: utf-8 -*- # # see benchsimple.py # configuration for evoque config = { "template" : """\ Benchsimple | ${title}

Benchsimple | ${title}

$for{n,row in enumerate(table)}\ $for{col in row}\ ${col} $rof $rof
""", "module" : "evoque", "import" : "from evoque.template import Template", "complete" : 't = Template("/","", src=template, from_string=True); r = t.evoque(**context_dict)', "parse" : 't = Template("/","", src=template, from_string=True)', "render" : "r = t.evoque(**context_dict)" } #-----------------------------------------