To be honest, since in python, data seems to be handed around as dictionaries and lists anyway, it's half done, for the retrieval side, since you can get such a list of dictionaries in two lines:
Code: Select all
dictcursor.execute("select * from maps")
maps = dictcursor.fetchall()
... then the question is how to change some stuff in maps, and inject the stuff that changed back into the db
... or, more simply, and probably 99% of uses, be able to give a single dictionary (=single 'object') to something, and get that to be pumped automatically into a table.
...also, the question of how to handle joins
PS we have headless spring now. Do you fancy setting up a botrunner or two?