If you are into reflection, you should really take a look at CLOS, before setting things in stone in Python. You can find my stuff in http://ligwww.epfl.ch/matomira/en/publications.html (the last book was finally released in '96 as "Advances in Metalevel Architectures and Reflection"). For DB interface stuff, there was paper in LUV'95 I think.