shelve like interface to MySQLdb

Skip Montanaro skip at pobox.com
Thu Sep 2 17:21:02 EDT 2004


    brian> I've done some googling and came up empty. Is there a simple way
    brian> to create a shelve like interface to a MySQL table? The keys
    brian> would be a direct mapping to the primary key in the table.

Perhaps overkill for your needs, but it sounds like you want part of what an
object-relational mapper does.  See here:

    http://www.thinkware.se/cgi-bin/thinki.cgi/ObjectRelationalMappersForPython

for Pythonic instantiations of the concept.

Skip



More information about the Python-list mailing list