\"Make things as simple as possible, but no simpler.\"
Can we find the solution/s that fix the Python database world?
Update: A
I think you should try ZODB. It is object oriented database designed for storing python objects. Its API is quite close to example you have provided in your question, just take a look at tutorial.