On this page
gitdx
Prev: headless-spreadsheets | Up: projects | Next: engl
Rel: wispsy, Foundation, gitcx, gitwriter
Ref: wispsy on GitHub
Tags: #public #wispsy #project #foundation #tier/standard
Role
A standalone, standard-library Python 3.14+ Git engine (0.1.0a1) with SHA-1/SHA-256 object codecs, loose/pack storage, refs, index v2, byte/tree diffs, safe checkout, and local/smart-HTTP fetch/push protocols—without invoking the git binary.
Install
python -m pip install "gitdx==0.1.0a1"
Quickstart
from gitdx import Blob, ObjectFormat
blob = Blob(b"hello\n").to_raw()
print(blob.oid()) # SHA-1
print(blob.oid(ObjectFormat.SHA256)) # SHA-256
When to Reach for It
- Reading, writing, diffing, or exchanging Git-compatible repositories directly from pure Python.
- Building custom Git tooling or hosting layers on top of an auditable stdlib engine.
Gotchas & Pitfalls
- Alpha pure-Python engine (
0.1.0a1, Python>=3.14): Does not shell out to thegitbinary—advanced git features like submodules, custom hooks, or partial clones are outside the current stdlib core. - SHA-1 vs. SHA-256 object format: Always pass
ObjectFormatconsistently across a repository; mixing SHA-1 and SHA-256 OIDs in the same repo raises format errors. - Safe checkout guards: Checkout refuses to overwrite untracked or conflicting paths silently—inspect diff/status before forcing workspace updates.
Pairs With
- gitcx — Git-compatible hosting and collaboration platform powered directly by
gitdx. - gitwriter — Dedicated tool for editing Git commit metadata.
Metadata
type: project-card
slug: gitdx
org: wispsy
repo: wispsy/gitdx
package: gitdx
version: 0.1.0a1
requires_python: ">=3.14"
layer: foundation
topic: wispsy-foundation
status: active
language: python
source_docs: README.md, docs/
Linked from
Related notes
- wiki/projects/engl Linked here; links to this page; shared tags: #foundation, #project, #tier, #wispsy
- wiki/projects/headless-spreadsheets Linked here; links to this page; shared tags: #foundation, #project, #tier, #wispsy
- wiki/projects/gitcx Linked here; links to this page; shared tags: #project, #tier, #wispsy
- wiki/projects/gitwriter Linked here; links to this page; shared tags: #project, #tier, #wispsy
- wiki/stack/foundation Linked here; links to this page; shared tags: #foundation, #tier, #wispsy
- wiki/projects Linked here; links to this page; shared tags: #wispsy
- wiki/choosing links to this page; shared tags: #tier, #wispsy
- wiki/compatibility links to this page; shared tags: #tier, #wispsy
- wiki/families links to this page; shared tags: #tier, #wispsy
- wiki/orgs/wispsy Linked here; shared tags: #tier, #wispsy