Python Packaging 101: From Code to Installable Package
Details
Have you written Python code you’re proud of and wondered how to turn it into a proper, installable package? Join us for a hands-on, in-person workshop on Python packaging.
In this session, we’ll walk through the modern Python packaging workflow — from structuring your project to building, installing, and publishing your own package. You’ll leave with a better understanding of tools like `pyproject.toml`, build backends, and how packaging fits into real-world development.
This is a practical workshop, so come ready to code. We’ll work step by step together
### What we’ll cover
- Recommended project structure for Python packages
- Understanding `pyproject.toml`
- Building your package locally
- Installing and testing your package
- Publishing a package to Test PyPI
Whether you’re contributing to open source, building internal tools at work, or preparing your own library for distribution, understanding packaging is an essential Python skill.
***
### Recommended Experience
This is an intermediate level workshop, to get the most out of this tutorial, you should be comfortable:
- Writing Python code
- Using functions
- Working with Python environments (e.g., virtual environments)
This is not a beginner Python session, but you don’t need prior experience with packaging.
***
This event is primarily intended to create an empowering and supportive space for women and non-binary individuals to find community, learn new technical concepts, and expand their software development skills. We welcome allies, and we ask that you remain mindful of the event’s focus in creating an inclusive environment where women and non-binary participants can connect and fully express themselves. Thank you for your understanding and support.
***
### Schedule
5:30–6:00pm – Networking and getting to know each other
6:00–8:00pm – Hands-on Packaging Workshop
8:00:–8:15pm – Wrap-up and Q&A
***
### Requirements (Please complete before the event)
- Laptop — this is a hands-on event
- GitHub account
- Create a free GitHub account if you don’t already have one: https://github.com/
- Test PyPI account (we’ll use this to practice publishing packages)
- Create a free account on Test PyPI: https://test.pypi.org/account/register/
***
### Location
This event is at the Prefect offices. We strongly recommend taking the metro, because parking is limited.
Please RSVP at least 48 hours in advance. We are required to provide a full list of attendees to the venue for security purposes.
STAY INFORMED: Text "PYTHON" to 18337055131 to receive a reminder by text about your registration!
*Legal stuff we have to say when you sign up for texts:
By signing up via text, you agree to receive recurring automated text messages from WGXC at the number you provide. We may share info with service providers per our Privacy Policy. Reply HELP for help & STOP to cancel. Msg frequency varies. Msg & data rates may apply. By signing up via text, you also agree to our Terms (incl. arbitration) & Privacy Policy.
