PyPI
PyPI, the Python Package Index, is the public repository and distribution service for Python software packages.
Python Workout: 50 ten-minute exercises
PyPI is the Python Package Index, a repository and distribution service for Python packages.
- How it is used
- Connects Python programs to community-contributed third-party packages beyond the standard library.
- How deep it goes
- Defines PyPI and shows pip installation, but stops short of package publishing or dependency-management details.
- Examples
- Uses pypi.org, `pip install packagename`, and Awesome Python as concrete package-discovery and installation examples.
- What you can do after
- Operate/configure Python package installation through pip and assess package choices using curated lists.
Read how Python Workout: 50 ten-minute exercises explains PyPI →
Software Engineering for Data Scientists
PyPI is the Python Package Index, a repository and distribution service for Python software packages.
- How it is used
- Supports finding, installing, testing, updating, and publishing reusable Python libraries.
- How deep it goes
- Explains the repository workflow through metadata, builds, distributions, and uploads, but not repository internals.
- Examples
- Uses an ml_model package, pyproject.toml metadata, a dist directory, wheel files, and source distributions.
- What you can do after
- Apply it via pip and twine to install libraries or publish wheel and source distributions.
Read how Software Engineering for Data Scientists explains PyPI →
Python Workout, Second Edition
PyPI is the Python Package Index, a public repository and distribution service for Python packages.
- How it is used
- Supports distributing Python packages and participating in the open-source ecosystem.
- How deep it goes
- Connects package creation with uploading to PyPI, but stops short of upload commands or release mechanics.
- Examples
- Uses menu.py as a package-publication exercise and recommends a name based on the creator’s initials.
- What you can do after
- Build it from scratch by turning menu.py into a package and uploading it to PyPI.
Also covered in
- The Quick Python Book, Fourth Edition
- The Well-Grounded Python Developer: How the pros use Python and Flask
- Road to Kubernetes
What to know first
- PythonPython is a high-level, general-purpose, dynamically typed programming language with readable syntax and support for multiple programming paradigms.
Related concepts
- pipused by · pip is Python’s standard package installer, a command-line tool for installing and managing Python packages and their dependencies.
- moduleproduces · A module is a cohesive unit of code or computation that groups related functionality within a larger system and defines a scope or boundary for organizing or sharing it.
- package repositorykind of · A package repository is a service or collection that stores, indexes, and distributes software packages.
- twineused by · twine is a Python utility for securely uploading Python package distributions to package indexes such as PyPI.
- packageproduces · A software package is a named unit that groups related software components, either for organization and compilation or for distribution and reuse.
Questions about PyPI
What is PyPI?
PyPI, the Python Package Index, is the public repository and distribution service for Python software packages.
Which Manning books explain PyPI?
Python Workout: 50 ten-minute exercises, Software Engineering for Data Scientists and Python Workout, Second Edition.
What should I know before learning PyPI?
Manning books that teach PyPI usually introduce Python first.
What is PyPI a kind of?
PyPI is a kind of package feed. A package feed is a repository or service that distributes software packages for installation.
What is PyPI also called?
PyPI is also called Python Package Index.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.


