Automic VaultAutomic Vault

brew

hatch を Homebrew, apk, dnf, MacPorts, Nix, scoop, winget でインストール

hatch のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install hatch

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install hatch

MacPorts ports tree · python/hatch/Portfile · ソース: api.github.com

Windows

Scoop確認済み · 92%
scoop install main/hatch

Scoop official bucket manifest trees · bucket/hatch.json · ソース: api.github.com

Windows Package Manager確認済み · 92%
winget install --id PyPA.Hatch -e

Windows Package Manager source index · PyPA.Hatch · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

Modern, extensible Python project management

履歴

プロジェクトの歴史と使われ方

Hatch is a modern, extensible Python project manager under the PyPA organization. It packages project creation, build backend integration, environment management, testing, static analysis, versioning, publishing, Python distribution management, and script running behind one CLI.

Its history is tied to Python's move toward pyproject.toml-centered packaging. Hatch and Hatchling give package authors a standards-compliant build backend plus a workflow tool, making it a notable entry in the post-setup.py packaging era.

プロジェクトの歴史

The Hatch history page records version 1.0.0 on 2022-04-28 as the first stable release of Hatch v1 and a complete rewrite. The adjacent Hatchling history records 0.24.0 on the same date as the initial public release of the Hatchling build system, establishing the split between the user-facing Hatch CLI and the build backend.

The 1.1.0 history entry says project metadata was updated to reflect adoption by PyPA and production stability. That matters historically because PyPA ownership placed Hatch among the packaging tools documented and maintained in the Python packaging ecosystem rather than as only an individual project.

Later history entries show Hatch broadening from packaging and environments into batteries-included project operations: publishing confirmation and index plugins, virtual-environment storage and plugin APIs, automatic Python distribution downloads, test commands, static analysis defaults, standalone binaries through PyApp, UV support, dependency groups, workspaces, and PEP 751 lockfile commands.

採用の歴史

Hatch adoption came from Python projects that wanted a single pyproject.toml-native workflow for building, testing, versioning, environment scripts, and publishing. Its README presents standardized builds, reproducible builds by default, environment management, Python management, test execution, static analysis, script running, publishing, version management, and project generation as first-class features.

The build documentation emphasizes that Hatch complies with modern Python packaging specifications and that other tools can consume projects using Hatch as a build backend. This is central to adoption: projects can use Hatchling while still interoperating with pip, tox, cibuildwheel, PyPI, and other packaging tools.

Package-manager adoption reflects that dual role. Homebrew and other OS package managers distribute the hatch CLI, while Python packaging itself consumes Hatchling through build-system requirements in pyproject.toml.

使われ方

Typical CLI workflows include hatch new, hatch build, hatch publish, hatch version, hatch run, hatch env commands, hatch test, and Hatch-managed Python or environment operations. Configuration lives in user config files plus pyproject.toml or hatch.toml project tables.

As a build backend, Hatchling is declared in pyproject.toml with build-system.requires and build-backend. As a workflow manager, Hatch creates and runs named environments, executes scripts, builds distributions, and coordinates publishing without forcing all projects to abandon other tools in the packaging ecosystem.

パッケージ好きにとっての重要性

Hatch is significant because it bundles several trends in Python packaging: pyproject.toml configuration, backend/front-end separation, reproducible builds, environment automation, plugin hooks, and standards-based metadata. It is not just a build backend and not just a virtualenv wrapper.

For package nerds, Hatchling's small build-backend role is as important as the hatch CLI. A project can depend on Hatchling for wheel and sdist creation while developers use Hatch for environments, scripts, tests, versions, and publishing.

The changelog also tracks the moving Python packaging target: Python version support drops, metadata version updates, SBOM support, dependency groups, UV integration, lockfiles, PyPI telemetry user agents, and workspace concepts all appear as the ecosystem evolves.

タイムライン

  • 2022-04-28: Hatch 1.0.0 shipped as the first stable v1 release and complete rewrite; Hatchling 0.24.0 shipped as the initial public build-system release.
  • 2022-05-12: Hatch 1.1.0 updated project metadata to reflect PyPA adoption and production stability.
  • 2023: Hatch added and refined publishing, virtual environment behavior, build backend flexibility, automatic Python downloads, and plugin interfaces.
  • 2024: Hatch added a test command, UV support for virtual environments, official GitHub Action support, and Python distribution source controls.
  • 2025: Hatch 1.16.0 added workspace support inspired by Cargo Workspaces and dependency group support.
  • 2026: Hatch 1.17.0 added check commands, PEP 751 lockfile generation, dependency lock/sync commands, and pluggable dependency lockers.

Related projects

  • Hatchling is Hatch's build backend and is declared by projects through pyproject.toml.
  • PyPA is the Python Packaging Authority organization under which Hatch is maintained.
  • PyPI, pip, tox, cibuildwheel, virtualenv, UV, Ruff, PyApp, and Python packaging standards are recurring integration points in Hatch documentation and history.

セキュリティ状態

保護ツール対応はまだ見つかっていません

hatch に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 4 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

macOS
~/Library/Application Support/hatch/config.toml
Unix
$XDG_CONFIG_HOME/hatch/config.toml~/.config/hatch/config.toml
Windows
%USERPROFILE%\AppData\Local\hatch\config.toml

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
hatchcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版1.17.1
マネージャ更新日2026-07-09
ローカルデータOK
上流not checked
検出された最新未検出

https://hatch.pypa.io/latest/

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:hatch
バージョン1.17.1
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/hatch
ホームページhttps://hatch.pypa.io/latest/
リポジトリhttps://github.com/pypa/hatch
上流ドキュメントhttps://hatch.pypa.io/latest
ライセンスMIT
ソースアーカイブhttps://files.pythonhosted.org/packages/01/5a/7cacce8d33a93e81cda9b4f8623ebf67b73859950af0062e1f2c527f4b34/hatch-1.17.1.tar.gz
最終更新2026-07-09T03:33:21Z
Pulseupdated
依存関係certifi, cryptography, python@3.14, uv
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehatch
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

hatch

nix profile install nixpkgs#hatch
  • normalized package name match
  • 一致条件: Hatch
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ha/hatch/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

hatch 1.16.3-r1

Modern, extensible Python project management

https://hatch.pypa.io/latest/

sudo apk add hatch
  • License: MIT
  • Architecture: x86_64
  • Source Package: hatch
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Hatch
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hatch from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

hatch-pyc 1.16.3-r1

Precompiled Python bytecode for hatch

https://hatch.pypa.io/latest/

sudo apk add hatch-pyc
  • License: MIT
  • Architecture: x86_64
  • Source Package: hatch
  • 1 依存関係
  • normalized package name match
  • 一致条件: Hatch
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hatch-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

hatch 1.17.0-2.fc45

A modern project, package, and virtual env manager

https://github.com/pypa/hatch

sudo dnf install hatch
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: hatch
  • 4 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Hatch
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: hatch from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

hatch

sudo port install hatch
  • normalized package name match
  • 一致条件: Hatch
MacPorts ports tree · api.github.com · MacPorts ports tree: python/hatch/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/hatch

scoop install main/hatch
  • normalized package name match
  • 一致条件: Hatch
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/hatch.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

PyPA.Hatch

winget install --id PyPA.Hatch -e
  • normalized package name match
  • 一致条件: Hatch
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: PyPA.Hatch from https://cdn.winget.microsoft.com/cache/source.msix

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment