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
Release history Release notifications | RSS feed
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.2.1.tar.gz
(12.6 kB
view details)
Built Distribution
gedcom7-0.2.1-py3-none-any.whl
(11.4 kB
view details)
File details
Details for the file gedcom7-0.2.1.tar.gz
.
File metadata
- Download URL: gedcom7-0.2.1.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 597871621ff439e3dd402ce6d882e5a7a6f613098a42df412393ff8a940d4cf6 |
|
MD5 | a47a4743f9849e2c40d072f8b3ae476b |
|
BLAKE2b-256 | 76ada753804b397f55cf28441665750ddbf67ab2af0be8fbf683792e77720c65 |
File details
Details for the file gedcom7-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: gedcom7-0.2.1-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2470c5f89944423bc1c8e3e2ca8cff4c1a0baedf77b14fb8d983dcec99e6214d |
|
MD5 | 4a7e256f5ec1bab3f8b42e1c36bcb36c |
|
BLAKE2b-256 | 448d32228d84ce548436ee7030d9a5a4e2edddd7394f50184c4753948e6f4a68 |