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

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.17
File Size Uploaded Provenance Actions
gedcomkit-0.1.17.tar.gz 295.2 kB Without provenance Details for gedcomkit-0.1.17.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for gedcomkit 0.1.17
File Actions
gedcomkit-0.1.17-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for gedcomkit-0.1.17-cp39-abi3-win_amd64.whl
gedcomkit-0.1.17-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.17-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
gedcomkit-0.1.17-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for gedcomkit-0.1.17-cp39-abi3-macosx_11_0_arm64.whl
gedcomkit-0.1.17-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for gedcomkit-0.1.17-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 3.6 MB

Release files / gedcomkit-0.1.17.tar.gz

Download URL gedcomkit-0.1.17.tar.gz
Size 295.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5b933988c197191ca32f5cc6a1a8729f527a20e17e4ec4978ddb3d154719a94b
BLAKE2b-256 checksum
How to use checksums
ae98a46ea3017a34cd963ba1a1dd015dc899c3852b8cfb968004f3a2f2571c39
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.17-cp39-abi3-win_amd64.whl

Download URL gedcomkit-0.1.17-cp39-abi3-win_amd64.whl
Size 462.3 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
7a3a62a5f7f3a615955fd32add29e7f9359e258bd36593a2925b972afdb71715
BLAKE2b-256 checksum
How to use checksums
13a5aaa1b7a9cb5678081aee37c75d70ee10bc08ee38c928c98dad3bbf3acb93
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.17-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL gedcomkit-0.1.17-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 627.3 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
2737cda5c5638daedf676ba8505a5f58001dc396769f39de5c4109ae5bcd2804
BLAKE2b-256 checksum
How to use checksums
2357d9e7cf9efd037798e90164e732e1ca950dbda33643c0c3c3fb0dd92204de
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.17-cp39-abi3-macosx_11_0_arm64.whl

Download URL gedcomkit-0.1.17-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
51b16dcb36d8984a4d05757f8a3758fd9a3e5090a45ca96b328cb102ceaada51
BLAKE2b-256 checksum
How to use checksums
a1c594c2e4612fc28eb05818c55c3ea516c1758917df7199dace4c7a420248a6
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.17-cp39-abi3-macosx_10_12_x86_64.whl

Download URL gedcomkit-0.1.17-cp39-abi3-macosx_10_12_x86_64.whl
Size 1.1 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
b06fb39f79308a6159bcd9006735bb36f7d24c2ffcc0795fb468933e136de753
BLAKE2b-256 checksum
How to use checksums
61aa5da7b31c97ab6481858481ea70608558997e15a72f498f6e942afe3dd5b2
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.17

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