conferences | speakers | series

Unpack Python Packages 📦 – Deep dive into the wheels of python packaging

home

Unpack Python Packages 📦 – Deep dive into the wheels of python packaging
PyCon Sweden 2021

Live stream: https://youtu.be/kO5Es7KKUIY This talk provides a hands-on deep-dive into the wheel file format and python packaging. First, we will slash the tire, see what's inside, and then build new wheels from scratch. You will learn about the inner workings of a crucial part of the Python packaging ecosystem and understand what your tools do behind the covers.

During this talk, we will explore python packaging. Before we begin our deep dive, I will provide some background and information guiding the audience into where we are today and how we ended up here. First, we will deconstruct a package and deep dive into the file format. Next, we will learn what makes up a python package, how to create a package from zero, and how to create a small tool from scratch to package up a python project and submit it to PyPI. Closing up the talk, I will introduce the reader to modern tooling that makes the process painless. The presentation aims to educate the audience in python packaging and demystify what these tools do behind the scenes. In the end, I'd like to have a Q&A summing up questions. I will publish all the code and content in a GitHub repository. The idea is that said repository can act as a handy reference guide for the audience whenever they need to look something up related to the python packaging format. Rough outline, this might be altered slightly - Introduction - Presentation of me - Outline - Why do we care? - How? - Cheatsheet - What is a Python Package? - Wheels - Distribution types - Crack the egg - What's wrong with sdist? - Deconstruct a package _(practical/demo)_ - Build a package from scratch _(practical/demo)_ - Package it up _(practical/demo)_ - Submit to (test) PyPI _(practical/demo)_ - Modern tooling - More resources - Q&A

Speakers: Alexander Hultnér