← pypa/hatch
CodeVetter · Repo Unpack · Extension points

pypa/hatch

Scanned commit 7c26ebeaf8 dated 2026-09-20 — last upstream commit. Generated by codevetter codevetter 1.15.0 on 2026-10-02. Deep analysis by cli:codex via the codex CLI on 2026-10-02 (418s). Source inspection; upstream code and tests were not executed.

The principal extension mechanism is pluggy registration of named classes. Hatch adds environment, collector, publisher, template, and locker registries to Hatchling's build and version registries. Builders expose artifact-version functions and ordered hooks, while environments and lockers expose lifecycle contracts. CLI command lists and dependency-source parser tables provide additional explicit dispatch points.