EmPy is a system for embedding Python expressions and statements in template text. It takes an EmPy source file, processes it, and produces output. This is accomplished via expansions, which are special signals to the EmPy system and are set off by a special prefix (by default the at sign, '@'). It can expand arbitrary Python expressions and statements in this way, as well as a variety of special forms. Textual data not explicitly delimited in this way is sent unaffected to the output, allowing Python to be used in effect as a markup language. Also supported are callbacks via hooks, recording and playback via diversions, and dynamic, chainable filters. The system is highly configurable via command line options and embedded commands.
Myghty is a Python-based Web application framework originally ported from HTML::Mason. It supports the full feature set of Mason, allowing component-based Web development with Python-embedded HTML. It also features additional paradigms such as module components, environment-neutral session support, and many more language features. The HTTP connector API includes mod_python, CGI, WSGI, and standalone implementations. It also supports command line and custom non-HTTP environments.
Nouvelle is a very simple Web rendering framework, similar to the 'nevow' package in Quotient but with a few key differences. XHTML documents are constructed using a convenient pure-Python syntax. Nouvelle itself doesn't require a particular web server or environment, but it can interoperate with Twisted or BaseHTTPServer easily.
Python OpenID is a set of Python packages that support use of the OpenID decentralized identity system in your applications. It can be used to enable single sign-on for your Web sites or for running an OpenID server. Example code is supplied and a variety of storage back-ends are supported.
py-xmlrpc is an extremely fast implementation of the xmlrpc spec for Python (written in C). It supports both blocking and non-blocking clients and servers on Windows and POSIX platforms. Version 0.8.1 is 100% compliant with the xmlrpc validator found at http://validator.xmlrpc.com.
Templayer is an HTML templating library for Python that offers an alternative to embedding code within the HTML or embedding HTML within code. Instead, Templayer adds a small amount of syntax to each and keeps the two separate and coherent. It also helps to promote secure Web application development by escaping strings by default, and by not trying to interpret code within template files.