Skip to content

Repository files navigation

gedcom7

A GEDCOM 7 parser for Python.

Background

The parser is based on regular expressions generated directly from the ABNF grammar via abnf-to-regexp. It does not attempt to parse files that are not standards compliant.

Installation

python -m pip install gedcom7

Usage

importgedcom7withopen("my_gedcom.ged", "r", encoding="utf-8") asf:
string=f.read()
records=gedcom7.loads(string)

Credits

Inspiration was drawn from the Javascript parser.

About

GEDCOM 7 parser for Python

Topics

Resources

Code of conduct

Stars

16 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages