macOS
brew install hatchlocal Homebrew formula metadata
sudo port install hatchMacPorts ports tree · python/hatch/Portfile · 来源: api.github.com
安装
brew install hatchlocal Homebrew formula metadata
sudo port install hatchMacPorts ports tree · python/hatch/Portfile · 来源: api.github.com
sudo apk add hatchAlpine Linux edge package indexes · hatch · 来源: dl-cdn.alpinelinux.org
sudo dnf install hatchFedora Rawhide package metadata · hatch · 来源: dl.fedoraproject.org
nix profile install nixpkgs#hatchnixpkgs package indexes · pkgs/by-name/ha/hatch/package.nix · 来源: api.github.com
scoop install main/hatchScoop official bucket manifest trees · bucket/hatch.json · 来源: api.github.com
winget install --id PyPA.Hatch -eWindows 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.
安全态势
没有找到 hatch 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
~/Library/Application Support/hatch/config.toml$XDG_CONFIG_HOME/hatch/config.toml~/.config/hatch/config.toml%USERPROFILE%\AppData\Local\hatch\config.toml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
hatch | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 依赖 | certifi, cryptography, python@3.14, uv |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | hatch |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
hatch
nix profile install nixpkgs#hatchhatch 1.16.3-r1
Modern, extensible Python project management
sudo apk add hatchhatch-pyc 1.16.3-r1
Precompiled Python bytecode for hatch
sudo apk add hatch-pychatch 1.17.0-2.fc45
A modern project, package, and virtual env manager
sudo dnf install hatchhatch
sudo port install hatchmain/hatch
scoop install main/hatchPyPA.Hatch
winget install --id PyPA.Hatch -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.