Publishing Python Packages to PyPI

PyPI is the public hosting service where open-source Python packages live. When you pip install a package, that’s where it fetches it from. In this course, you’ll learn all about the structures of a package and how to upload your own to the PyPI server.

In this video course, you’ll learn about:

  • Why packages and virtual environments exist
  • How to structure a package
  • How to use build systems
  • The contents of the pyproject.toml file
  • How to use the build and twine tools
  • What the Flit and Poetry tools offer

Throughout this course, you’ll work with an example project: a reader package that can be used to read Real Python tutorials in your console.

What’s Included:

Downloadable Resources:

Related Learning Paths:

About Christopher Trudeau

Christopher Trudeau Christopher Trudeau

Christopher has a passion for the Python language and writes for Real Python. He is a consultant who helps advise organizations on how to improve their technical teams.

» More about Christopher

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

« Browse All Courses