#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# see benchsimple.py
# configuration for EmPy
#-----------------------------------------
config = {
"template" : """\
@{
import cgi
}@
Benchsimple | @(cgi.escape(title))
Benchsimple | @(cgi.escape(title))
@
@[for n,row in enumerate(table)]
@
@[for col in row]
@(cgi.escape(str(col))) | @
@[end for]
@
@[end for]
""",
"module" : "em",
"import" : "import em",
"complete" : "r = em.expand(template, **context_dict)",
"parse" : "",
"render" : ""
}
#-----------------------------------------