Skip to main content

An s-expression style template engine.

Project description

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.

1.0.24 is an important update as it fixes XML attribute escaping and plain string quoting. Thanks to Neil Blakey-Milner for bringing this to my attention and for his patch (which I changed, so any blame goes to me for bugs).

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page