Python · Modules, Packaging and Dependencies · Intermediate · 28 min read
Python Packaging with pyproject.toml: Build Backends, Metadata, Entry Points, Versioning and Publishing
Turn code into an installable package. Learn pyproject.toml structure, build backends (hatchling, setuptools), project metadata and dependencies, optional dependencies and dependency groups, console scripts, the src layout, including data files and py.typed, versioning, building wheels and sdists, TestPyPI and PyPI with trusted publishing, and release checklists.
Create an account to start
Create a free account to see what this lesson covers
- Every free lesson in every section, in full
- Track your progress and pick up where you left off
- Free practice questions and an incident simulation
- Takes under a minute: name, email and a password
No card needed. Full access to Python is a paid upgrade you can choose later.