We are inviting the PyLadies Oslo and Oslo Python meetup groups to a last-minute meetup/tutorial on Python packaging on May 8. We (Marie and Yngve) will host the tutorial at PyCon US this year, and we wanted to share it with the Oslo Python community as well :)
Schedule:
- 17:30 - Pizza and mingling (we can help with setup if you haven't installed everything yet)
- 18:00 - Tutorial/workshop: Introduction to packaging with uv (we also have materials for PDM)
- 20:00 - Rounding off
Tutorial description:
Packaging your code is an essential skill that empowers you to share your Python projects with the world. However, the packaging process can appear complex and overwhelming, and it can be difficult to know where to begin.
This hands-on tutorial will demystify packaging and get you started with the fundamentals of Python packaging. We’ll cover how to structure projects and follow best practices for project layouts, specify project metadata, make your package installable, and publish it to PyPI. We’ll demonstrate with the modern and easy-to-use packaging tool uv (you can also use PDM instead if you want), but most of the topics covered will also apply to any modern packaging tool.
Every new concept will be introduced as a group, practised individually through practical exercises and then reflected on together as a group.
Required equipment:
A laptop with Python installed (and preferably uv or PDM as well). Alternatively, a friend with a laptop with Python installed.
Audience:
This tutorial assumes you are familiar with basic Python syntax, have some experience creating (smaller or larger) Python programs, and want to learn how to package and share your code. Whether you’re a beginner Pythonista eager to start sharing your code or an experienced developer who wants to be brought up to speed with the current state of packaging, this is the tutorial for you.
Location:
Bouvet Oslo's offices at Sørkedalsveien 8.