Search across all documentation pages
10 pages in this section.
The pipeline every packaging tool in this section implements: how a source tree becomes a build-backend-produced artifact, how sdists and wheels differ, and why platform/ABI tags exist at all.
Learn Python packaging basics, including building wheels and sdists, configuring pyproject.toml, and structuring projects with a src layout.
Learn to configure Python build backends like Hatchling and Setuptools using pyproject.toml to create distributable wheels and sdists.
Learn to implement Semantic Versioning (SemVer) and maintain changelogs for Python projects. Understand dynamic versioning from Git tags and document breaking changes.
Publish Python packages to PyPI using uv publish or twine. Learn to use TestPyPI for testing, implement trusted publishing with OIDC, and automate releases.
Register CLI commands and plugin hooks at install time. Learn to ship CLIs with project.scripts and enable plugin discovery with project.entry-points.
Learn best practices for Python package creation and publishing, covering project structure, metadata, versioning, builds, and security for PyPI.
A single-page roundup of every highlight bullet from the 9 pages in the Packaging & Publishing section, grouped by source page so you can scan all 53 takeaways without opening each article individually.