GEDCOM v5 parser
Project description
GEDCOM v5
Parser for GEDCOM v5 files
Specifications
https://www.gedcom.org/gedcom.html
Samples
https://www.gedcom.org/samples.html
Usage Example
from gedcom5.parser import GEDCOM5Parser
msg = '\n'.join([
'0 @I1@ INDI',
'1 NAME Bob /BROWN/',
'2 FAMC @F1@',
'0 @F1@ FAM',
'1 HUSB @I2@',
'1 WIFE @I3@',
'0 @I2@ INDI',
'1 NAME Bob /BROWN/'
'0 @I3@ INDI',
'1 NAME Mary /SMITH/'
])
parser = GEDCOM5Parser()
gedcom = parser.parse_string(msg)
gedcom.indi[0].name.value == 'Bob /BROWN/'
for indi in gedcom.indi:
print(f'{indi.name.value}')
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
gedcom5-0.1.6.tar.gz
(17.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
gedcom5-0.1.6-py3-none-any.whl
(13.6 kB
view details)
File details
Details for the file gedcom5-0.1.6.tar.gz.
File metadata
- Download URL: gedcom5-0.1.6.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
294c66248bcebfa0a0c9f5bfe9e6391304185354f0a7a96734284c27dd349e9d
|
|
| MD5 |
74288e0f947e395b0d64e1d00274e350
|
|
| BLAKE2b-256 |
d48a3239029a77ba4274c0b62d5f652e7f527071ad78b581f37f809530e5ce84
|
File details
Details for the file gedcom5-0.1.6-py3-none-any.whl.
File metadata
- Download URL: gedcom5-0.1.6-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dab49eb8f03d69599eafe3a585748b4f053440c176609d028fe5a0a60ef115b8
|
|
| MD5 |
3016ad0609e0e3cec49b83f8a78346b7
|
|
| BLAKE2b-256 |
543577c6034f22c4e3653dbc00e4f29999f245da25f363f500c29ffafba187a7
|