# jelmer/dulwich

Pure-Python Git implementation

Repository: https://github.com/jelmer/dulwich
Canonical: https://ross.abutalabs.com/products/dulwich
Homepage: https://www.dulwich.io/
Language: Python
License: NOASSERTION
License Family: other
Topics: python, pypy, version-control, git, python-3, cpython, dulwich
Last push: 2026-08-26T09:16:19+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 6373, "days_push": 7, "days_rel": 9, "gap_med": 9, "n_releases_24m": 36}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2272, forks 441 (observed 2026-08-28T04:06:33.193691+00:00)

## What it is
Dulwich is a pure-Python implementation of Git's file formats and network protocols, providing both low-level access to Git objects and a high-level 'porcelain' API mirroring Git commands. It requires no Git binary or native code, with optional Rust extensions for performance.

## Use cases
- read and write git repositories from python without installing git
- programmatically clone, commit, push and pull git repos in python
- parse git pack files and objects in pure python
- embed git functionality in a python application or server
- work with git repositories on systems where git binary is unavailable
- implement custom git tooling with a typed python library

## When to choose
- you need git functionality in pure Python with no git binary dependency
- you're deploying to environments where installing git or native extensions is impractical
- you need fine-grained programmatic access to git objects, refs, and pack files
- you want a typed, maintained library compatible with C Git repositories

## When to avoid
- you need maximum performance for heavy git operations and can use native bindings
- you just need to shell out to git commands - GitPython may be simpler
- you need pygit2's libgit2 speed for large-scale repository processing

## Facets
- artifact type: library
- maturity: active
- function: version-control, developer-tools, parser, http-client
- domain: version-control, developer-tools, programming-languages
- platform: python, cross-platform, windows
- tags: git, pure-python, rust-extensions, porcelain-api, git-protocol, sha-256, linux, macos, pypy

## Member repositories
- jelmer/dulwich (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:33.193691+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:41:42.755052+00:00, confidence not recorded.
  - readme: https://github.com/jelmer/dulwich (fetched 2026-08-28T04:06:33.193691+00:00, sha 8aee7f8cace9)
  - homepage: https://www.dulwich.io/ (fetched 2026-08-29T10:22:09.883485+00:00, sha 1b20017f6a6a)
  - site_page: https://www.dulwich.io/getting-started (fetched 2026-08-29T10:22:09.892713+00:00, sha 41006ac02d50)
- Data as of 2026-08-30T08:39:29.467469+00:00.
