Skip to main content

gedcomkit (Python)

Python bindings for gedcomkit, an archival-grade GEDCOM library written in Rust: byte-preserving round-trip, encoding detection and reporting, GEDCOM 5.5 through 7.x. A node no caller touched is written back byte for byte; nothing is dropped for being unrecognized; hostile input is bounded.

import gedcomkit

doc = gedcomkit.Gedcom.parse(open("family.ged", "rb").read())
print(doc.encoding)          # "Read as ANSEL, declared ANSEL"
print(len(doc), doc.version)

for person in doc.individuals():
    print(person["names"], person["events"])

for finding in doc.validate():
    print(finding["severity"], finding["message"])

# The family graph reads both directions of the link, so a one-sided
# file (FAMC only, no CHIL) still answers.
print(doc.parents_of("@I3@"))

# Edit one structure by the path its view carries; every untouched
# line still writes back byte for byte.
doc.set_logical_value("@I1@", [0], "Ada /Lovelace/")
open("family.ged", "wb").write(doc.to_bytes())

Build from this directory with maturin:

maturin develop          # into the active virtualenv
maturin build --release  # a wheel

The Rust core lives at the root of the same repository; this crate is a thin PyO3 layer over its public API.

License: AGPL-3.0-or-later, the same as the core (see LICENSE).

Metadata

Release files for gedcomkit 0.1.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gedcomkit 0.1.11
File Size Uploaded
gedcomkit-0.1.11.tar.gz 265.9 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for gedcomkit 0.1.11
File
gedcomkit-0.1.11-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
gedcomkit-0.1.11-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details
gedcomkit-0.1.11-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
gedcomkit-0.1.11-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details

Total release size: 3.5 MB

Release files / gedcomkit-0.1.11.tar.gz

Download URL gedcomkit-0.1.11.tar.gz
Size 265.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c7c265f442676c79e5571e8f4f8b6862d5a06e2c1827ddcbd4864faef9f1902b
BLAKE2b-256 checksum
How to use checksums
296790eccdd5a1197a0ac1a71042ddd81985f9eae76b85d417ad1124271fe88b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / gedcomkit-0.1.11-cp39-abi3-win_amd64.whl

Download URL gedcomkit-0.1.11-cp39-abi3-win_amd64.whl
Size 445.1 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
5611a3302565265d87164abefaaf3703e6fe3be187f2992fcb54d46dad65c74d
BLAKE2b-256 checksum
How to use checksums
3d623ebd03ac070e43b9fade1b3e38c900e8119a4646c8a598f7e51b49916d5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / gedcomkit-0.1.11-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL gedcomkit-0.1.11-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 609.0 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
fe35f98e8be5ad1ac800dcfbe89c840b0fcb66c2e569e8c6581600396e8283a2
BLAKE2b-256 checksum
How to use checksums
fed242d82464c18adcb2956984748a4889c99fa83603858047355a4226c1f246
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / gedcomkit-0.1.11-cp39-abi3-macosx_11_0_arm64.whl

Download URL gedcomkit-0.1.11-cp39-abi3-macosx_11_0_arm64.whl
Size 1.1 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2eb329b97081ff9fa8cd8389ccdeee7184990b61e66d4d266268315ed10ae95f
BLAKE2b-256 checksum
How to use checksums
0551148f893c52196bae7beb2715c83144b62df75e48cdf74b5b2edc0afb1ea2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / gedcomkit-0.1.11-cp39-abi3-macosx_10_12_x86_64.whl

Download URL gedcomkit-0.1.11-cp39-abi3-macosx_10_12_x86_64.whl
Size 1.0 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
91c82a8744b9d227bd05b2fb0b250d0fb92d22b048d5a5902918a18169fb43ea
BLAKE2b-256 checksum
How to use checksums
4bf7d6457643564097426f006f175ca5ce57460e2ce3d3f4784527018e46f44e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.15

Release history Release notifications | RSS feed

0.1.16

5 release files

0.1.15

5 release files

0.1.14

5 release files

0.1.12

5 release files

This release

0.1.11 This release

5 release files

0.1.10

5 release files

0.1.9

5 release files

0.1.8

5 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page