Skip to main content

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.

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.1.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gedcom7-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gedcom7-0.1.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for gedcom7-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7e4544a10e75b11a3f729552ac94608e5d1880fb2218cebea9be093886b2dfc8
MD5 ec13d8637dcf125d7b55a1cce4bb1f69
BLAKE2b-256 2bc311d11a6f316b69607e6900f58fbc17686c21570b3981626582950364ac5f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gedcom7-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for gedcom7-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6dd1352c11efc8eca9cbc6809ed7ff7f905b256aaab6b62938e7bb7436912dc
MD5 fb22c9b1323ac6eedd12f94403789b63
BLAKE2b-256 5db46f40066b6d7732bd0b3a7ffa25c0420b7afbbe6e3affc8106ca927cc07c5

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.0

2 files

1.0.0

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page