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.8.tar.gz
(17.5 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.8-py3-none-any.whl
(13.7 kB
view details)
File details
Details for the file gedcom5-0.1.8.tar.gz.
File metadata
- Download URL: gedcom5-0.1.8.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8714c71eb04bd727b82a1eaec90a8e1054c5703ee3f822300f1fb75f1fffe4e
|
|
| MD5 |
550b5d3253009989c6a783c62355c536
|
|
| BLAKE2b-256 |
90e74baf53fc21b47eb552a80b29d3ac4431e75f6f57548fd102b0d818000a05
|
File details
Details for the file gedcom5-0.1.8-py3-none-any.whl.
File metadata
- Download URL: gedcom5-0.1.8-py3-none-any.whl
- Upload date:
- Size: 13.7 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 |
f6bc68442e7f19e0ed23eeb7a7f30dde883666d091b849e22b6bf2eb9ab234aa
|
|
| MD5 |
3ec0d88832153f5e108cc0dca354d8a5
|
|
| BLAKE2b-256 |
1f4272933b5ff5f66b2aa1bcbed2d5a4ae0438aa511c6e6f2d45972e2ec92503
|