Hatch

Python project manager covering builds, environments, Python distributions, testing, static analysis, version management, and publishing to PyPI.

Hatch is a Python project manager maintained under the PyPA organization. It handles the project lifecycle from a single CLI: generating projects from templates, managing versions, building packages, running tests, and publishing to PyPI or other package indices.

Its build system is standardized and produces reproducible builds by default. Environment management supports custom scripts and can use UV. Hatch can also manage Python distributions, run Python scripts through a built-in script runner, execute tests following documented best practices, and run static analysis with default configurations.

Hatch is aimed at Python package authors and maintainers who want one tool for environments, builds, and releases. Full documentation is hosted at hatch.pypa.io.

Alternatives & related tools

add a badge to your README

Maintain Hatch? Show that it's featured on trmn. The badge links back to this page.

Featured on trmn
Markdown
[![Featured on trmn](https://www.trmn.sh/badge/hatch.svg)](https://www.trmn.sh/tools/hatch?utm_source=badge)
HTML
<a href="https://www.trmn.sh/tools/hatch?utm_source=badge"><img src="https://www.trmn.sh/badge/hatch.svg" alt="Featured on trmn" height="20"></a>