pyratemp is probably (one of) the smallest complete template-engines for Python (with about 500 LOC). It has a very small set of special syntax in the templates. This reduces complexity and the probability of bugs and lead to an easy-to-use and intuitive user-interface. It uses embedded Python-expressions (in a "sandbox"), is well documented, has full Unicode-support, and produces very good error-messages, which is very useful when creating new templates.
Webwidgets is a framework for writing Web applications as if they were desktop applications. It employs the same programming paradigm as GTK, Qt, etc. with a tree of widgets with callbacks for events such as a button press. It encapsulates page loads, session data, form handling, etc. into widgets with their own state. Webwidgets is focused on code reuse, rapid prototyping, and separation between graphic design, interaction design, and application logic. It is implemented in Python and uses the Webware application server framework.
Flightdeck-UI is a project that utilizes the ideas in the design of aircraft controls and instruments for creating general purpose user interfaces. The project includes Flightdeck-UI Online (a Web-based monitoring system that works entirely through the browser), the Multi-Variable Monitor (MVM) application, and a Tkinter widget library. Flightdeck-UI Online is installed on a Web server. The MVM application provides a graphical editor with theme support for quickly creating Flightdeck-UI control panels. It is possible but not necessary to write code in order to use MVM.