Skip to main content

GEDCOM 7 parser

Project description

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

import gedcom7

with open("my_gedcom.ged", "r", encoding="utf-8") as f:
    string = f.read()

records = gedcom7.loads(string)

Credits

Inspiration was drawn from the Javascript parser.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gedcom7-0.4.0.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

gedcom7-0.4.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file gedcom7-0.4.0.tar.gz.

File metadata

  • Download URL: gedcom7-0.4.0.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for gedcom7-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d4b26a0aeeb7801f3cbed7f32608a40046cfa494d14157f0792e9abefc04dea9
MD5 3a439db943fcce7420af8fa14f524da8
BLAKE2b-256 c8790130b9647a0c7c52ac667856e88d71fda7a4502c12b144aa5e9ff5def76b

See more details on using hashes here.

File details

Details for the file gedcom7-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: gedcom7-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for gedcom7-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6fa1d6f50153427296ce3c520d86f57537a60d3a9718ff47da12fc4fa1e3889
MD5 18f61b80b66d5682068519567dd63aec
BLAKE2b-256 dfa60abcb409a4401d48ef688cf4975ce506b5380015dfdab63d84f9536eacc3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page