import MySQLdb
db = MySQLdb.connect(blah)
cur = db.cursor()
cur.execute("SELECT foo from bar where baz")
Spend your time customizing a data access layer to fit your needs, not shoehorning an existing framework into a situation where it'll never quite fit.