https://github.com/pypa/hatch
Modern, extensible Python project management
https://github.com/pypa/hatch
build cli packaging plugin python versioning virtualenv
Last synced: 7 days ago
JSON representation
Modern, extensible Python project management
- Host: GitHub
- URL: https://github.com/pypa/hatch
- Owner: pypa
- License: mit
- Created: 2017-05-31T23:37:53.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-21T00:46:49.000Z (6 months ago)
- Last Synced: 2024-10-29T15:55:19.747Z (6 months ago)
- Topics: build, cli, packaging, plugin, python, versioning, virtualenv
- Language: Python
- Homepage: https://hatch.pypa.io/latest/
- Size: 31.5 MB
- Stars: 6,019
- Watchers: 49
- Forks: 305
- Open Issues: 328
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
- my-awesome-github-stars - pypa/hatch - Modern, extensible Python project management (Python)
- awesome-repositories - pypa/hatch - Modern, extensible Python project management (Python)
- StarryDivineSky - pypa/hatch - 3 倍 (Python 程序 / 网络服务_其他)
- jimsghstars - pypa/hatch - Modern, extensible Python project management (Python)
README
# Hatch
| | |
| --- | --- |
| CI/CD | [](https://github.com/pypa/hatch/actions/workflows/test.yml) [](https://github.com/pypa/hatch/actions/workflows/build-hatch.yml) [](https://github.com/pypa/hatch/actions/workflows/build-hatchling.yml) |
| Docs | [](https://github.com/pypa/hatch/actions/workflows/docs-release.yml) [](https://github.com/pypa/hatch/actions/workflows/docs-dev.yml) |
| Package | [](https://pypi.org/project/hatch/) [](https://pypi.org/project/hatch/) [](https://pypi.org/project/hatch/) [](https://github.com/pypa/hatch/releases) |
| Meta | [](https://github.com/pypa/hatch) [](https://github.com/astral-sh/ruff) [](https://github.com/python/mypy) [](https://spdx.org/licenses/) [](https://github.com/sponsors/ofek) |-----
Hatch is a modern, extensible Python project manager.
## Features
- Standardized [build system](https://hatch.pypa.io/latest/config/build/#build-system) with reproducible builds by default
- Robust [environment management](https://hatch.pypa.io/latest/environment/) with support for custom scripts and UV
- Configurable [Python distribution management](https://hatch.pypa.io/latest/tutorials/python/manage/)
- [Test execution](https://hatch.pypa.io/latest/tutorials/testing/overview/) with known best practices
- [Static analysis](https://hatch.pypa.io/latest/config/static-analysis/) with sane defaults
- Built-in Python [script runner](https://hatch.pypa.io/latest/how-to/run/python-scripts/)
- Easy [publishing](https://hatch.pypa.io/latest/publish/) to PyPI or other indices
- [Version](https://hatch.pypa.io/latest/version/) management
- Best practice [project generation](https://hatch.pypa.io/latest/config/project-templates/)
- Responsive [CLI](https://hatch.pypa.io/latest/cli/about/), ~2-3x [faster](https://github.com/pypa/hatch/actions/workflows/cli.yml) than equivalent toolsSee the [Why Hatch?](https://hatch.pypa.io/latest/why/) page for more information.
## Documentation
The [documentation](https://hatch.pypa.io/) is made with [Material for MkDocs](https://github.com/squidfunk/mkdocs-material) and is hosted by [GitHub Pages](https://docs.github.com/en/pages).
## License
Hatch is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.