gedcom.utilities.splitter package

Module contents

Module extending gedcom.parser.Parser to add new functionality

gedcom.utilities.splitter.splitter module

class gedcom.utilities.splitter.splitter.Splitter

Bases: gedcom.parser.Parser

split_gedcom(ancestor, include_inlaws=True, callback=None)

Creates a GEDCOM for the a portion of the tree based on the ancester, their descendants, their descendants’ spouses and their descendants’ parents (assuming they are not a spouse). If include_inlaws is True, it also includes the parents of spouses and descendants’ parents.

Return type

str

write_file(file_name, callback=None)

Writes tree in output file

gedcom.utilities.splitter.splitter.build_criteria(criteria, field, value)
gedcom.utilities.splitter.splitter.main(argv)
gedcom.utilities.splitter.splitter.print_usage_message()
gedcom.utilities.splitter.splitter.progress_status(message, progress, progress_total)