| 1 |
Metadata-Version: 2.4 |
| 2 |
Name: hatchling |
| 3 |
Version: 1.30.1 |
| 4 |
Summary: Modern, extensible Python build backend |
| 5 |
Project-URL: Homepage, https://hatch.pypa.io/latest/ |
| 6 |
Project-URL: Sponsor, https://github.com/sponsors/ofek |
| 7 |
Project-URL: History, https://hatch.pypa.io/dev/history/hatchling/ |
| 8 |
Project-URL: Tracker, https://github.com/pypa/hatch/issues |
| 9 |
Project-URL: Source, https://github.com/pypa/hatch/tree/master/backend |
| 10 |
Author-email: Ofek Lev <[email protected]> |
| 11 |
License-Expression: MIT |
| 12 |
License-File: LICENSE.txt |
| 13 |
Keywords: build,hatch,packaging |
| 14 |
Classifier: Development Status :: 5 - Production/Stable |
| 15 |
Classifier: Intended Audience :: Developers |
| 16 |
Classifier: Natural Language :: English |
| 17 |
Classifier: Operating System :: OS Independent |
| 18 |
Classifier: Programming Language :: Python :: 3.10 |
| 19 |
Classifier: Programming Language :: Python :: 3.11 |
| 20 |
Classifier: Programming Language :: Python :: 3.12 |
| 21 |
Classifier: Programming Language :: Python :: 3.13 |
| 22 |
Classifier: Programming Language :: Python :: 3.14 |
| 23 |
Classifier: Programming Language :: Python :: Implementation :: CPython |
| 24 |
Classifier: Programming Language :: Python :: Implementation :: PyPy |
| 25 |
Classifier: Topic :: Software Development :: Build Tools |
| 26 |
Classifier: Topic :: Software Development :: Libraries :: Python Modules |
| 27 |
Requires-Python: >=3.10 |
| 28 |
Requires-Dist: packaging>=24.2 |
| 29 |
Requires-Dist: pathspec>=0.10.1 |
| 30 |
Requires-Dist: pluggy>=1.0.0 |
| 31 |
Requires-Dist: tomli>=1.2.2; python_version < '3.11' |
| 32 |
Requires-Dist: trove-classifiers |
| 33 |
Description-Content-Type: text/markdown |
| 34 |
|
| 35 |
# Hatchling |
| 36 |
|
| 37 |
<div align="center"> |
| 38 |
|
| 39 |
<img src="https://raw.githubusercontent.com/pypa/hatch/master/docs/assets/images/logo.svg" alt="Hatch logo" width="500" role="img"> |
| 40 |
|
| 41 |
| | | |
| 42 |
| --- | --- | |
| 43 |
| Package | [](https://pypi.org/project/hatchling/) [](https://pypi.org/project/hatchling/) [](https://pypi.org/project/hatchling/) | |
| 44 |
| Meta | [](https://github.com/pypa/hatch) [](https://github.com/astral-sh/ruff) [](https://github.com/psf/black) [](https://github.com/python/mypy) [](https://spdx.org/licenses/) [](https://github.com/sponsors/ofek) | |
| 45 |
|
| 46 |
</div> |
| 47 |
|
| 48 |
----- |
| 49 |
|
| 50 |
This is the extensible, standards compliant build backend used by [Hatch](https://github.com/pypa/hatch). |
| 51 |
|
| 52 |
## Usage |
| 53 |
|
| 54 |
The following snippet must be present in your project's `pyproject.toml` file in order to use Hatchling as your build backend: |
| 55 |
|
| 56 |
```toml |
| 57 |
[build-system] |
| 58 |
requires = ["hatchling"] |
| 59 |
build-backend = "hatchling.build" |
| 60 |
``` |
| 61 |
|
| 62 |
Then a build frontend like [pip](https://github.com/pypa/pip), [build](https://github.com/pypa/build), or Hatch itself can build or install your project automatically: |
| 63 |
|
| 64 |
```console |
| 65 |
# install using pip |
| 66 |
pip install /path/to/project |
| 67 |
|
| 68 |
# build |
| 69 |
python -m build /path/to/project |
| 70 |
|
| 71 |
# build with Hatch |
| 72 |
hatch build /path/to/project |
| 73 |
``` |
| 74 |
|
| 75 |
## Documentation |
| 76 |
|
| 77 |
- [Project metadata](https://hatch.pypa.io/latest/config/metadata/) |
| 78 |
- [Dependencies](https://hatch.pypa.io/latest/config/dependency/) |
| 79 |
- [Packaging](https://hatch.pypa.io/latest/config/build/) |