Albatross is a small and flexible toolkit for developing highly stateful Web applications. It provides browser-based sessions via automatically-generated hidden form fields, server side sessions via a session server or file-based session store, a powerful and extensible templating system which promotes separation of presentation and implementation for improved program maintainability, implicit handling for pagination of sequences and tree browsing, template macros to allow repeated HTML and special effects HTML to be defined in one location, and lookup tables to translate Python values to arbitrary template code. Applications can be deployed as either CGI programs or as mod_python module with minor changes to program mainline. Custom deployment can be achieved by developing your own Request class.
pyHTTPConn is a Python module that builds upon httplib with the goal of being wrapped up in a unit test framework to allow the testing of Web applications. However, it functions just fine outside of a unit test framework and allows developers to quickly write scripts that can, for instance, login to a Web site and gather interesting information.