PyPI is the Python Package Index, a public repository and distribution service for Python packages.
PyPI is a public repository and distribution service for Python packages. It connects package creation with participation in the Python open-source ecosystem. section 9.9
Publish a package
Turn menu.py into a Python package and upload it to PyPI. Choose a name based on your name or initials followed by “menu” to reduce name collisions. section 9.9
How Python Workout, Second Edition covers it
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 it assumes
Assumes familiarity with Python modules, imports, and invoking programs from the command line.
What you can do after
Build it from scratch by turning menu.py into a package and uploading it to PyPI.
How it connects
Connects Python packages with modules, imports, command-line execution, and open-source projects.
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 distinct, bounded software unit that groups related code or functionality and provides an organizational or interaction boundary within a larger system.
package repositorykind of · A package repository is a service or collection that stores, indexes, and distributes software packages.
packageproduces · A software package is a named grouping of modules or components, often with related resources and metadata, organized for import, reuse, distribution, or management.
This explainer was generated by Manning's knowledge graph from the text of Python Workout, Second Edition. The section links point to the parts of the book it draws on.