Sha256: ba9296fab533890dba5de3e6911722436afa77f729702119119603f4fdd020c3
Contents?: true
Size: 274 Bytes
Versions: 4
Compression:
Stored size: 274 Bytes
Contents
from pystache.template import Template from pystache.view import View from pystache.loader import Loader def render(template, context=None, **kwargs): context = context and context.copy() or {} context.update(kwargs) return Template(template, context).render()
Version data entries
4 entries across 4 versions & 1 rubygems