Skip to content

Python module for parsing, analyzing, and manipulating GEDCOM files

License

Notifications You must be signed in to change notification settings

alextz/python-gedcom

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python GEDCOM Parser

A Python module for parsing, analyzing, and manipulating GEDCOM files.

GEDCOM files contain ancestry data. The parser is currently supporting the GEDCOM 5.5 format which is detailed here: http://homepages.rootsweb.ancestry.com/~pmcbride/gedcom/55gctoc.htm

NOTE: This module is currently under development. The current development process can be tracked in the "develop" branch.

Installation

The module can be installed via pip.

Run pip install python-gedcom to install or pip install python-gedcom --upgrade to upgrade to the newest version uploaded to the PyPI repository.

Usage

When successfully installed you may import the gedcom module and use it like so:

from gedcom import *

file_path = '' # Path to your `.ged` file
gedcom = Gedcom(file_path)

# Then run methods on `gedcom` ... :)

History

This module was originally based on a GEDCOM parser written by Daniel Zappala at Brigham Young University (copyright (C) 2005) which was licensed under the GPL v2 and then continued by Mad Price Ball in 2012.

This particular fork was derived from the madprime code in the middle of 2017.

License

Licensed under the GNU General Public License v2

Python GEDCOM Parser
Copyright (C) 2018 Nicklas Reincke (contact at reynke.com)
Copyright (C) 2016 Andreas Oberritter
Copyright (C) 2012 Madeleine Price Ball
Copyright (C) 2005 Daniel Zappala (zappala at cs.byu.edu)
Copyright (C) 2005 Brigham Young University

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

About

Python module for parsing, analyzing, and manipulating GEDCOM files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%