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: GPL-3.0-or-later, the same as the core (see LICENSE).

Metadata

Release files for gedcomkit 0.1.20

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.20
File Size Uploaded Provenance Actions
gedcomkit-0.1.20.tar.gz 336.9 kB Without provenance Details for gedcomkit-0.1.20.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gedcomkit 0.1.20
File Interpreter ABI Platform Actions
gedcomkit-0.1.20-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for gedcomkit-0.1.20-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Total release size: 1.0 MB

Release files / gedcomkit-0.1.20.tar.gz

Download URL gedcomkit-0.1.20.tar.gz
Size 336.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f476f1115d3c99142efb51eee63e1bdc58c218426cea0497d371f86f3065989e
BLAKE2b-256 checksum
How to use checksums
4c23a5768c399a78db5a50b2fb05bf6b609621a75deb7c8888ddf41d63c891b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.18

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

Download URL gedcomkit-0.1.20-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 703.2 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
6c37a189c8d167d0c554638afbd186db2906f3f270e55c3c8fc406d466a0a200
BLAKE2b-256 checksum
How to use checksums
4306ff3715a6e68289ceaa69e13e7b815ed4b6096a40b7ba1167320b69e32e0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.18

Security for gedcomkit 0.1.20

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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