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

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.18
File Size Uploaded Provenance Actions
gedcomkit-0.1.18.tar.gz 324.9 kB Without provenance Details for gedcomkit-0.1.18.tar.gz

Built distribution (wheel)

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

Total release size: 1.0 MB

Release files / gedcomkit-0.1.18.tar.gz

Download URL gedcomkit-0.1.18.tar.gz
Size 324.9 kB
Tags Source
SHA-256 checksum
How to use checksums
304259b924882c05df72fab477a1d7cc22dc6bdcb7d6530be38899a522825f2c
BLAKE2b-256 checksum
How to use checksums
b82a32db9ac911219980b81810a7b6dc82ff45435bc05223a1109c737f7297e2
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.18-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL gedcomkit-0.1.18-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 693.9 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
ff7b1cca6e68403d8fa1c8dd838e8b58762ee8b2135e0729349fffc1f8c447e4
BLAKE2b-256 checksum
How to use checksums
a58c7fc3b9094c26d99158b49ce02e9eb4a3972a4d4c14f3712b4378e8fad2f1
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.18

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