As of version 2 release candidate 1 PyPedal can write pedigrees to GEDCOM 5.5-formatted files using the savegedcom method of pyp_newclasses.NewPedigree objects. The method takes an output file name as its argument:
test.savegedcom('ged3.pypedal.ged')
Note that not all attributes of pyp_newclasses.NewAnimal objects are written to the output file. More details on PyPedal's GEDCOM handling can be found in Appendix B.
A Manual for use of PyPedal
A software package for pedigree analysis