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.1.tar.gz (17.4 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.4.1-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gedcom7-0.4.1.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for gedcom7-0.4.1.tar.gz
Algorithm Hash digest
SHA256 15eb579cd975b70db36d0f52ab064d6d2c9a1abfee22929175c65d58e5ae26bf
MD5 f59c63eebf2a0fd66579f74ff08f8192
BLAKE2b-256 a02daa98c7ecef42b0a4e5a1e476c033199e9c3f24b8f444ac872dc7a46068bc

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gedcom7-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 64dc0fd0d99892d1450e5efb5e967617c44c1b57a762f875376d899122d109c1
MD5 073cd276c7db07b35a9be27fef9048af
BLAKE2b-256 b4ef53f146534cca686e0d03461ffd410aee95f7538c532b6354c73f8f24e925

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 Pingdom Monitoring Sentry Error logging StatusPage Status page