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.19

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.19
File Size Uploaded Provenance Actions
gedcomkit-0.1.19.tar.gz 335.4 kB Without provenance Details for gedcomkit-0.1.19.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gedcomkit 0.1.19
File Interpreter ABI Platform Actions
gedcomkit-0.1.19-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.19-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Total release size: 1.0 MB

Release files / gedcomkit-0.1.19.tar.gz

Download URL gedcomkit-0.1.19.tar.gz
Size 335.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9487d490e06e8cfccee794d8ce471c3e5205a3358ec0fc2af6b6eff4ae72ebca
BLAKE2b-256 checksum
How to use checksums
a1a07d7d2163fe4e6ebc5652d99b6446f14779e83e8a9e7c41ebc3ba6b372770
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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

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

Security for gedcomkit 0.1.19

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