The Twistar Project provides an ActiveRecord (ORM) pattern interface to the Twisted Project's RDBMS library.
For installation instructions, see the INSTALL file. Included in those instructions are the steps to generating API, docs, and HOWTO examples.
For more information, see the project home page at: http://findingscience.com/twistar