Streamline Python Package Release with uv, paws and trivia
Speaker
Ąžuolas Krušna
I am a software and data engineer with a passion for open-source. I build data tools and pipelines for KAYAK. On my spare time I create apps that I have been always passionate about.
I like reading and writing. At some point I wish I did not know how to code and could dedicate my time to writing purely. However, I am drawn by the power of code and computers so strongly, that I cannot quit it.
One of the best things this year for me is showing up to kettle bell exercises every day.
I am from Lithuania but for more than 4 years now based in Berlin.
Abstract
Python packaging can be mysterious. This talk demonstrates how to streamline your Python package release process using modern tools and human-centric automation. We'll showcase uv for elegant, fast dependency management and CI/CD. Discover innovative GitHub Actions workflows integrating "paws-itive" feedback and trivia to boost motivation and engagement in PRs. We'll achieve universal distribution across PyPI, Homebrew, and Scoop. Ship high-quality Python packages in an efficient and fun way.
Description
This session is for developers who want to learn or elevate their Python package release process. We will dive into practical, real-world examples from the Zpace repository, demonstrating how to build a robust, efficient, and enjoyable CI/CD pipeline.
Key areas covered include:
-
Elegant Performance with uv: Optimize CI/CD with uv for rapid, clean dependency management and builds.
-
Multi-Version & Cross-Platform Testing: See examples of testing across multiple Python versions on Ubuntu, macOS, and Windows runners in GitHub Actions.
-
Local Quality Gates: Use pre-commit to catch formatting, linting, and type checking issues early, before code reaches CI.
-
Engaging Automation: Implement motivational dog pictures and trivia comments in pull requests via GitHub Actions to boost team morale and collaboration.
-
Universal Distribution: Automate releases to PyPI, Homebrew, and Scoop for broad accessibility, ensuring your package reaches users on their preferred platforms.
-
Secure Publishing: Integrate OIDC (OpenID Connect) for secure, passwordless PyPI deployments, enhancing your supply chain security.
-
Resource Optimization: Learn how to optimize workflows with ubuntu-slim for enhanced performance and resource efficiency, keeping your CI/CD lean and cost-effective.
Attendees will walk away with actionable insights and real-world examples they can immediately apply to their own projects, expanding their reach across platforms while building a more engaging and positive development culture.