GEDCOM is a standard for exchanging genealogical data.
I've found parsers written in
but none so far written in Python. The closest I've come is the file libgedcom.py from the GRAMPS project, but that is so full of references to GRAMPS modules as to not be usable for me.
I just want a simple standalone GEDCOM parser library written in Python. Does this exist?
A few years ago I wrote a simplistic GEDCOM to XML translator in Python as part of a larger project. I found that dealing with the GEDCOM data in an XML format was much easier (especially when the next step involved XSLT).
I don't have the code online at the moment, so I've pasted the module into this message. This works for me; no guarantees. Hope this helps though.