A distribution package wraps a Python package for sharing and installation. It carries metadata such as author, compatible versions, licensing, tests, dependencies, and installation instructions. section 9.9
Keep the two meanings of package separate: a distribution package contains a Python package directory, often with the same name. Creating one traditionally requires setup.py; uv can configure, build, distribute, and publish packages while managing Python versions and virtual environments. section 9.9
Nested package layout
A distribution named mypackage can contain an outer mypackage directory and an inner mypackage directory holding the Python package. With __init__.py present, import mypackage loads and executes that file. section 9.9
from mypackage import first
Compare importing a package module directly with importing the package and exposing modules through __init__.py. section 9.9

