liveBook · Manning

Python Package Index

As explained in Python Workout, Second Edition

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.

Also explained in

Compare how 2 books explain Python Package Index →

Related concepts

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.