GEDCOM Relationship Report is a Python-based tool that creates relationship reports from a GEDCOM file exported from Gramps.
The project was created to show the relationship and relationship path from a selected proband to the people in the proband's biological family line. Any person in the GEDCOM file can be selected as the proband.
In the English Gramps interface, the proband corresponds to the Home Person.
If more than one person has the same name, the script displays the matching people and lets you select the correct person by ID.
Instructions for creating the required GEDCOM filter are available here:
https://myown-project.dk/guides/gramps-tags-filters/gedcom-filter/index.html
The filter excludes a child recorded with a non-birth relationship and the related family branch unless a biological connection also exists. This is necessary because family relationship names would otherwise be incorrect.
Tested with:
macOS has not been tested.
The release package contains:
The files Maren_Iversen.html and Maren_Iversen.xlsx are example reports created from the included test data.
relationship_names.xlsx contains the relationship names and the corresponding relationship paths used by the script, for example children, parents, siblings, nieces, grandparents, uncles and first cousins.
You may review the example files:
This makes it possible to see the expected result before using your own family tree.
relationship.py.The GEDCOM file is only read by the Python script and is not modified.
Open the working folder in a terminal and run:
python relationship.py
Enter the full and correct name of the person who should be used as the proband.
If several people have the same name, the script displays the matching people and lets you select the correct person by ID.
The script creates a subfolder named:
relationship-report-output
Three report files are created in this folder:
The filenames are based on the selected proband.
The HTML report contains:
The report can be opened locally in a web browser.
Search is available for:
The XLSX report contains the same main report columns as the HTML version.
It can be opened in a spreadsheet application, where all columns can be searched and sorted using the application's normal spreadsheet functions.
The JSON file contains:
Roles and Path are reserved for later use and do not currently contain report data.
.ged2 file may be present in the working folder when the script is run..ged2 to .ged2.bak.For questions and troubleshooting, see:
https://myown-project.dk/support/index.html