Python Packaging Essentials

Practical guide that walks you through creating, organizing, testing, and publishing Python packages.

Preface

The aim of this site it to provide all the must known practices when it comes to create a Python package. It offers multiple blog posts, where each of them covers one topic with a few key points. The goal here is to empower anyone with just basic Python knowledge.

We’ll go over concrete examples, use clear explanations, and try as much as possible to go straight to the point so that anyone with some Python knowledge can create their own Python packages.

All blog posts aim to be very practical, and do not try to be exhaustive. If you’re looking to learn more about a very specific topic, it’s recommended to use the official Python packaging guide. As a matter of fact, this previous guide is cited a large number of times in the blog posts.

Good to know

  • All blog posts are independant. Even if they follow some sort of order, it’s perfectly fine to just look at what interests you.
  • This site is open source and in continuous improvement. If you want to suggest an improvement (correct an error, improve an explanation, add an example or anything else), it’s more than welcomed. It starts here.
  • You can download the PDF version of this site in the top left of the site / navigation bar.