# pypa/hatch

Modern, extensible Python project management

Repository: https://github.com/pypa/hatch
Canonical: https://ross.abutalabs.com/products/hatch
Homepage: https://hatch.pypa.io/latest/
Language: Python
License: MIT
License Family: permissive
Topics: python, cli, virtualenv, packaging, versioning, build, plugin
Last push: 2026-08-18T23:06:33+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 97, longevity 100
- inputs: {"age_days": 3381, "days_push": 15, "days_rel": 22, "gap_med": 5.5, "n_releases_24m": 25}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7228, forks 453 (observed 2026-08-28T04:09:57.634012+00:00)

## What it is
Hatch is a modern, extensible Python project manager from PyPA that combines a standards-compliant build system, environment management, Python version management, testing, static analysis, versioning, and publishing in one CLI. It is highly configurable via a pluggy-based plugin system and uses established Python standards (PEP 517/660, PEP 440, PEP 508) to avoid lock-in.

## Use cases
- manage python project environments and dependencies
- build and publish python packages to pypi
- scaffold new python projects from templates
- run tests across multiple python versions
- bump and manage project versions
- run python scripts with isolated dependencies
- replace setuptools with a modern pep 517 build backend

## When to choose
- you want a single tool covering build, environments, testing, and publishing for Python projects
- you need reproducible builds with a standards-based, plugin-extensible workflow
- you want fast environment creation with optional UV integration
- you are starting a new Python library or application and want best-practice defaults

## When to avoid
- your project depends on setuptools-specific legacy packaging features
- you need fully reproducible application lock files, which Hatch does not yet support
- your team is already standardized on another manager like Poetry or PDM and migration cost outweighs benefits

## Facets
- artifact type: cli-tool
- maturity: active
- function: build-tool, package-manager, cli, developer-tools, plugin-system, testing, version-control
- domain: developer-tools, programming-languages
- platform: python, cli, cross-platform, windows
- tags: python-packaging, virtualenv, pyproject-toml, pep-517, versioning, pypi-publishing, project-templates, uv, command-line, automation, macos, linux

## Member repositories
- pypa/hatch (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:57.634012+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-29T17:39:47.574358+00:00, confidence not recorded.
  - readme: https://github.com/pypa/hatch (fetched 2026-08-28T04:09:57.634012+00:00, sha b4b0a04f6f0f)
  - homepage: https://hatch.pypa.io/latest/ (fetched 2026-08-29T08:34:42.047481+00:00, sha 7753a53e5e20)
  - site_page: https://hatch.pypa.io/latest/cli/about (fetched 2026-08-29T08:34:42.056661+00:00, sha ead97c0d703c)
  - site_page: https://hatch.pypa.io/latest/plugins/about (fetched 2026-08-29T08:34:42.058710+00:00, sha 7db4e3089edd)
  - site_page: https://hatch.pypa.io/latest/install (fetched 2026-08-29T08:34:42.063722+00:00, sha ef34578c78bb)
  - site_page: https://hatch.pypa.io/latest/how-to/environment/select-installer (fetched 2026-08-29T08:34:42.065609+00:00, sha f7ddb0205f28)
  - registry_pypi: https://pypi.org/pypi/hatch/json (fetched 2026-08-29T08:34:42.067316+00:00, sha e3c3941397f0)
  - site_page: https://hatch.pypa.io/latest/meta/faq (fetched 2026-08-29T08:34:42.061555+00:00, sha 05a4d1a6676c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
