#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# see benchsimple.py
# configuration for Genshi text
config = {
"template" : """\
Benchsimple | $title
Benchsimple | $title
{% for n,row in enumerate(table) %}\
{% for col in row %}\
${col} |
{% end %}\
{% end %}\
""",
"module" : "genshi",
"import" : 'from genshi.template import NewTextTemplate',
"complete" : 'tmpl = NewTextTemplate(template); stream = tmpl.generate(**context_dict); r = unicode(stream)',
"parse" : 'tmpl = NewTextTemplate(template)',
"render" : 'stream = tmpl.generate(**context_dict); r = unicode(stream)'
}
#-----------------------------------------