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

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.15
File Size Uploaded
gedcomkit-0.1.15.tar.gz 283.6 kB Details

Built distributions (wheels)

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

Total release size: 3.6 MB

Release files / gedcomkit-0.1.15.tar.gz

Download URL gedcomkit-0.1.15.tar.gz
Size 283.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c1a0e5cb2a0c33855f69d721b07aea554953773bd08f4d71ecc866024b0e95bf
BLAKE2b-256 checksum
How to use checksums
782d52630d34610bfc97623b4f6bafbb57b5be8f8f612d18d1c9c0bb7d53a6fa
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.15-cp39-abi3-win_amd64.whl

Download URL gedcomkit-0.1.15-cp39-abi3-win_amd64.whl
Size 456.1 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
e1fa77e437f08bb8c567d8df8878a89152a39a4fa6bc098eec2f4e1b22d5f858
BLAKE2b-256 checksum
How to use checksums
bbd2256bd613645d86168b00d250ba1d4db39b73f45d29fb47edae43fcb643b3
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.15-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL gedcomkit-0.1.15-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 620.6 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
e328271bc5e7b61067915b36679f900d685ef1fa6064c6c9336ecc1f5b5a7d40
BLAKE2b-256 checksum
How to use checksums
39b09e2d0f0b5e9bc5cd6dc3ea07ea811e07c6b92efa03e67d326795b5c94619
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.15-cp39-abi3-macosx_11_0_arm64.whl

Download URL gedcomkit-0.1.15-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
8b4c461e6b9c79511f96a20aa21de180a5062997698807143cffa6179a266bc4
BLAKE2b-256 checksum
How to use checksums
08af859c5b4be60a62c076f5b639d4bf31bb924f3d4128adc00b539ce59c4be4
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.15-cp39-abi3-macosx_10_12_x86_64.whl

Download URL gedcomkit-0.1.15-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
9ced28939fd71ae5f2d798003fa21bbb614c2a2b2d9a8ecdf1e2bee94da7f4f5
BLAKE2b-256 checksum
How to use checksums
43300f11b8fe9ae945f40f508d36371425821081851a3a1ea564ab5237808f43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release history Release notifications | RSS feed

0.1.16

5 release files

This release

0.1.15 This release

5 release files

0.1.14

5 release files

0.1.12

5 release files

0.1.11

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