Tools

These tools are already included in the Brevé source archive but are also available here as separate downloads for convenience (people installing via easy_install will find this is the easiest way to get them).

soup2breve

soup2breve is a new HTML to Brevé converter written by Robert Leftwich which leverages BeautifulSoup for HTML parsing. It does a much better job of converting HTML than html2breve ever did and should be used in place of html2breve whenever possible.

The documentation for soup2breve is here.

html2breve

html2breve is a Python script that converts well-formed HTML to Brevé. It has a couple minor bugs, but can save tons of time when converting existing HTML resources to Brevé templates. Unless there is good reason, it's recommended to use soup2breve instead.

xsd2breve

xsd2breve is a Python script that can take an XML schema definition (xsd) URI and generate a Python module that defines the schema within Brevé (see the documentation on custom tags for more details).

breve_server

breve_server is a simple WSGI server for previewing Brevé templates without the need to write a bunch of wrapper code or install a web framework. It can also serve static files, so no external webserver is required.

edit page
Back to top
Rendered using Brevé 1.2.6Copyright © 2007, Cliff Wells