Haven't used it myself, but before you start duplicating a whole database scheme in Python, a look at http://sqlobject.org/ might be worthwile. Peter