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
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.5.tar.gz
(17.2 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.5-py3-none-any.whl
(13.5 kB
view details)
File details
Details for the file gedcom5-0.1.5.tar.gz.
File metadata
- Download URL: gedcom5-0.1.5.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
874c52e398d96c5443a443df3281f073f2444ab0591a89ca3ec97bc02bcd74c0
|
|
| MD5 |
7f691867ed88d937291e40ca76682dbb
|
|
| BLAKE2b-256 |
74ef910e5e7da95e272a957a85011892f3373febdb7da2e4ca50ed10f5485fbd
|
File details
Details for the file gedcom5-0.1.5-py3-none-any.whl.
File metadata
- Download URL: gedcom5-0.1.5-py3-none-any.whl
- Upload date:
- Size: 13.5 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 |
1bf9bfb7590094c28fa5d6cf9a3bfda767028d11b502cd3d725090a9937a4e91
|
|
| MD5 |
237468b195185da7a03cf48644b64636
|
|
| BLAKE2b-256 |
99431e454028480541978fa1d970d40ccd15803c7abaff4474858d1cf560eb7a
|