Skip to content

Releases: Mark-Wing/python-gedcom

v2.0.0-alpha

17 Apr 22:03

Choose a tag to compare

New Features

parser.py

Updates to existing methods:

  • Added optional parent_type to find_path_to_ancestor

    • The find_path_to_ancestor assumed the parent type is "Natural".

    • This is not part of the 5.5 GEDCOM standard and as a result, may not work for some GEDCOMs

  • Added optional callback method to parse_file method.

    • Larger files take a long time to parse. The callback allows the calling program to monitor progress.

New methods:

  • find_all_path_to_ancestor

    • The find_path_to_ancestor only finds one path. Sometimes there is more than one.
  • get_children

  • get_family

  • get_spouses

  • get_marriage_data

element.py

New methods:

  • equals
  • get_child_value_by_tag
  • remove_child_element

individual.py

Updates to existing methods:

  • Updated criteria_match to support given_name in criteria

New methods:

  • get_birth_date
  • get_birth_place
  • get_death_date
  • get_death_place
  • get_first_name
  • get_name_data
  • get_sources_by_value
  • get_sources_by_tag_and_date
  • get_sources_by_tag_and_place
  • get_vital_data_by_tag
  • get_vital_year_by_tag

Utilities

The python-gedcom includes modules that will complete the following:

  • Create a new GEDCOM file based on a person and their descendants.

    • While this is common function of most genealogy programs, the programs do not include the parents of spouses automatically. The python-gedcom module can include them automatically. In fact this problem was the initial driver for the expansion of the python-gedcom.

Future modules in development:

  • Create a genealogy book
  • Calculated statistics
  • Clean GEDCOMs or merge records