Evoque 0.4

Managed eval-based freeform templating
Evoque is a full-featured generic text templating system for python using a simple $-substitution syntax and providing support for nested templates, flow control, overlays, inter-template addressing and invocation, cache management, arbitrary Python expressions, all python % operator formatting, restricted execution, automatic cross-site scripting protection, advanced encoding guessing algorithm, and more.

Allowing only python expressions and a managed evaluation namespace, Evoque offers a surprising level of simplicity, versatility and performance.

Main features:

  • Full-featured pure Python templating engine / 992 SLOC
  • Python 2.4, 2.5, 2.6 and 3.0
  • Unicode
  • Simplicity
  • Restrictable execution / sandbox
  • Data-driven template inheritance / runtime base template selection
  • Open-ended source or target file formats
  • Templates are managed via Collections in a Domain / cascading defaults
  • Domain-wide template names / addressing
  • Automatic input quoting / XSS protection
  • Speed

last updated on:
January 21st, 2009, 6:58 GMT
price:
FREE!
developed by:
Mario Ruggier
homepage:
evoque.gizmojo.org
license type:
Academic Free License (AFL) 
category:
ROOT \ Text Editing&Processing \ Markup

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

What's New in This Release:
  • Evoque (package/unittests) now runs on all of python 2.4, 2.5, 2.6 and 3.0, simultaneously from the same identical code base.
  • The decodeh module (encoding guessing algorithm, now even more important in py3 when opening text files) becomes py3-aware by...
  • making read_from_file() always opens a file in binary mode
read full changelog

Add your review!

SUBMIT