pyprojecttoml
pyproject.toml is a configuration file at the root of Python projects used to declare build system requirements and project metadata in the TOML format. Introduced by PEP 518 to standardize how builds are described and performed, it serves as a central place that packaging tools can read without executing setup.py. Its use was extended by PEP 621, which defines a standard project metadata table, and by other PEPs to improve interoperability among tools.
The file is organized into TOML tables. The essential table is [build-system], which lists build-backend and
Another important table is [project] (per PEP 621), which can contain standard metadata fields such as name,
In practice, pyproject.toml enables build isolation and simplifies packaging workflows. It allows tools to declare their
Overall, pyproject.toml has become a cornerstone of modern Python packaging by consolidating build configuration and, where