One of the several places I have my genealogy data is in gramps (see http://gramps-project.org/), an open source program written in python (a very easy to learn computer language for those interested). I have written several programs of my own playing with my data, starting with either gedcom or csv exported from either gramps or one of the other programs I use (eg myheritage). Gramps uses a more pythonic data model (eg people are python objects - see http://www.gramps-project.org/docs/gen/gen_lib.html#module-gen.lib.person). Is there a file somewhere that has this data in it then I can just copy and use in other programs? Or is there an easy way to extract the data in it's native python format?
I have tried to figure this out by reading the source but I don't understand the overall design well enough to find the hook I'm looking for. I'm hoping someone more familiar with gramps can point me in the right direction.
I've looked at the db api, but did not understand well enough so I (erroneously now that I've read the answers to this questions) thought that it would not be applicable.