PyPI and pip
- Category
- Developer tools
- Docs outline
- 14 sections
Official docs outline
packaging.python.org- Packaging overview
Python packaging landscape, wheels, sdists and tools.
- Packaging projects tutorial
Building and uploading a distribution to PyPI.
- pyproject.toml
Project metadata and build-system tables.
- Wheels and source distributions
Source distributions (sdist) versus wheels, what each contains and when each is used.
- pip and virtual environments
Installing packages in isolated environments.
- pip user guide
Installing, requirements files, constraints and configuration.
- Dependency resolution
How pip resolves versions and backtracks.
- Versioning and specifiers
PEP 440 versions and requirement specifiers.
- Secure installs and hashes
Hash-checking mode and secure installs.
- Authentication and indexes
Authenticating to private indexes with netrc, keyring and credentials in URLs.
- Publishing to PyPI
Building distributions and publishing releases to PyPI from CI workflows.
- Trusted publishers
OIDC-based publishing without API tokens.
- PyPI security and 2FA
Two-factor auth, API tokens and account security.
- PyPI APIs
The PyPI JSON API, the simple repository API and the upload API.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.