SQLObject is an object-relational mapper.
It allows you to translate RDBMS table rows into Python objects,
and manipulate those objects to transparently manipulate the database.

WWW: http://www.sqlobject.org/