Skip to content

Details

Event Agenda:
There will be a main talk between 30 minutes to 1 hour followed by optional lighting talks.

From GitHub Repo to PyPI Package: A Practical Guide by Hannes Hapke

Publishing your Python project to PyPI can feel daunting the first time, but recent tooling has made it remarkably straightforward. Hannes' talk walks through the complete journey from a GitHub repository to an installable pip package, using Dataiku's open-source kiji-inspector project as a real-world case study. We'll dissect its pyproject.toml to understand PEP 621 metadata, explore why the src/ layout prevents subtle import bugs, and see how commitizen automates semantic versioning. Then we'll build a package live, validate it with twine, and examine how GitHub Actions and PyPI's trusted publishing (OIDC) can ship releases without a single API key. Whether you're packaging your first library or modernizing an old setup.py workflow, you'll leave with a concrete template and an 8-step recipe to turn code into a `pip install` in under an hour.

Lightning Talks:
Lightning talks are talks up to 5 minutes in length on any topic that might interest other Python people. See PyCon’s Lightning Talks description for more details.

Related topics

You may also like