An s-expression style template engine.
Project description
Please note that 1.1 introduces two minor but incompatible changes from the 1.0 releases: entities must now be referenced in the E namespace, e.g. E.nbsp, E.copy, etc. The older method can be forced by setting Template.mashup_entities = True, but this is not recommended due to name clashes with HTML tags and Python builtins. Also, the dot notation for referencing templates has been removed from the Buffet adapter as it made little sense and caused issues if the path itself contained a dot. Instead, use slashes as is normal for paths.
About Breve:
Breve is a Python template engine that is designed to be clean and elegant with minimal syntax. Unlike most Python template engines, Breve is implemented as an internal DSL rather than a parser.
Breve was heavily inspired by Nevow Stan and is, in fact, the successor to TurboStan, my earlier attempt to bring a Stan-like engine to TurboGears.
Breve supports the Buffet template engine API which means it works automatically with several frameworks, including Pylons, CherryPy and TurboGears. Breve also supports Django.