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.3.0.tar.gz (16.3 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.3.0-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gedcom7-0.3.0.tar.gz
Algorithm Hash digest
SHA256 afcb36a3324692a436cefb28bb4e4d582c937c90ff92fb6eaebb8d0f3fb669bd
MD5 51ed964ac0517aac60307f43d0a00726
BLAKE2b-256 4b48a668f86ac62c6b44b0349d01b20cb3d9bf72a66688c34b87a5e949703ed6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gedcom7-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 13.8 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3dd0f1de62c04fd475ed613cbf229551b24b9a1ca33d4fc3abffde868a4a0ab1
MD5 ceede606c3b2cf661889dbbeffde50e2
BLAKE2b-256 d5e05c9b66d56810d155c20876b531518e129a2acfccb2a2178b7a93110e1545

See more details on using hashes here.

Supported by

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