#110 - Dane Hillard on Python packaging and effective developer tooling episode artwork

EPISODE · Apr 5, 2023 · 38 MIN

#110 - Dane Hillard on Python packaging and effective developer tooling

from Pybites Podcast · host Julian Sequeira & Bob Belderbos

In this week’s episode we talk with Dane about packaging and the rich ecosystem of Python tooling.Dane is the author of Publishing Python Packages, a new Manning book that just came out. In our conversation we dive into some of the specific challenges and opportunities that come with packaging Python code.One of the things that we discuss is the backstory behind Dane’s book on packaging. Dane talks about how he scratched his own itch by open sourcing some packaging code that he had developed at work. He then began to explore some of the patterns and practices around packaging that worked really well. His passion for helping other people distribute their code was also a strong motivator.We also talk about where people struggle with packaging, and how some of the perceptions around packaging come from the history and diversity of tooling in the Python ecosystem. However, Dane points out that there is a more extensible architecture now, which has turned into more of a plugin-like architecture.Dane then dives into some specific topics from his book, including the debate between using a src vs flat directory structure, the benefits of using a pyproject.toml file as a unified way of specifying dependencies and tooling, and how a tool like tox (or nox) is invaluable for orchestrating all the tooling around Python package management.We also discuss some of the challenges around dependency hell, and some tips for managing this more effectively. Dane talks about the importance of using Github Actions as a way of automating CI/CD workflows, and how this can be a big time saver, particularly when the amount of projects you’re maintaining adds up.Finally, we touch on the community aspect of packaging, and some tips for open source maintainers and contributors. Dane shares some of the unexpected things he learned from writing his book, as well as some advice for keeping up with the Python ecosystem and trends in the tech space.Overall, we really enjoyed producing this episode. It offers a wealth of insights into the world of packaging in Python and we’re grateful for Dane sharing all these practical tips + advice with our audience and we’re sure it will help you improve your packaging workflows. ---You can get 35% off on ALL Manning products in all formats using this code: podpybites23---Links:Dane’s new bookTox and NoxShould You Use Upper Bound Version Constraints?What Is ChatGPT Doing … and Why Does It Work?Reach out to Dane:TwitterMastodonLinkedInBooks mentioned:Trustworthy Online Controlled ExperimentsReinventing the WheelRelated packaging Pybites podcast:#108 – Teaching packaging by building a Python package

In this week’s episode we talk with Dane about packaging and the rich ecosystem of Python tooling.Dane is the author of Publishing Python Packages, a new Manning book that just came out. In our conversation we dive into some of the specific challenges and opportunities that come with packaging Python code.One of the things that we discuss is the backstory behind Dane’s book on packaging. Dane talks about how he scratched his own itch by open sourcing some packaging code that he had developed at work. He then began to explore some of the patterns and practices around packaging that worked really well. His passion for helping other people distribute their code was also a strong motivator.We also talk about where people struggle with packaging, and how some of the perceptions around packaging come from the history and diversity of tooling in the Python ecosystem. However, Dane points out that there is a more extensible architecture now, which has turned into more of a plugin-like architecture.Dane then dives into some specific topics from his book, including the debate between using a src vs flat directory structure, the benefits of using a pyproject.toml file as a unified way of specifying dependencies and tooling, and how a tool like tox (or nox) is invaluable for orchestrating all the tooling around Python package management.We also discuss some of the challenges around dependency hell, and some tips for managing this more effectively. Dane talks about the importance of using Github Actions as a way of automating CI/CD workflows, and how this can be a big time saver, particularly when the amount of projects you’re maintaining adds up.Finally, we touch on the community aspect of packaging, and some tips for open source maintainers and contributors. Dane shares some of the unexpected things he learned from writing his book, as well as some advice for keeping up with the Python ecosystem and trends in the tech space.Overall, we really enjoyed producing this episode. It offers a wealth of insights into the world of packaging in Python and we’re grateful for Dane sharing all these practical tips + advice with our audience and we’re sure it will help you improve your packaging workflows. ---You can get 35% off on ALL Manning products in all formats using this code: podpybites23---Links:Dane’s new bookTox and NoxShould You Use Upper Bound Version Constraints?What Is ChatGPT Doing … and Why Does It Work?Reach out to Dane:TwitterMastodonLinkedInBooks mentioned:Trustworthy Online Controlled ExperimentsReinventing the WheelRelated packaging Pybites podcast:#108 – Teaching packaging by building a Python package

NOW PLAYING

#110 - Dane Hillard on Python packaging and effective developer tooling

0:00 38:37

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

Big Old Life: Heather Blackbird interviews people on planet earth. Heather Blackbird loves asking questions. This podcast is a learning experience. Join me, Heather Blackbird, as I talk to people about their lives. Frequency of new episodes is a little all over the place and I'm learning as I go. Big Old Life is a small way of talking about the vastness of life, one person at a time. If you are reading this or found this podcast it's probably because someone you know gave you a link to it. :) Explicit The Sacred +Profane Podcast nephtaragrace The Sacred + Profane Podcast is a provocative conversation dedicated to cementing a better future for all. We specialize in unpacking the nuances of what is considered sacred and profane, particularly focusing on sex, death, and all that pertains to the circle of life. Our aim in focusing on such ”taboo” subject matter is to demystify what is unconscious, bring to light what has been known for centuries as ”the occult,” and empower the rapid transformation that is occurring on the Planet. Explicit Undeniable w/ Braxton Curtis Braxton Curtis The official Podcast of Braxton Curtis.A Father, Husband, and Business Owner just trying to figure it all out. Explicit Bitcoin Gateway Lea meakin Welcome to Bitcoin Gateway, the podcast where we dive deep into the world of Bitcoin, hosted by Lea Meakin. This show is for anyone who’s ever felt overwhelmed by the complex world of cryptocurrencies and wants a simple, straightforward explanation. Each episode, we’ll break down the basics of Bitcoin, explore its history, and discuss its potential impact on the future of finance. Whether you’re a complete beginner or just looking to expand your knowledge, Bitcoin Gateway is here to help you understand Bitcoin, one episode at a time. Explicit

Frequently Asked Questions

How long is this episode of Pybites Podcast?

This episode is 38 minutes long.

When was this Pybites Podcast episode published?

This episode was published on April 5, 2023.

What is this episode about?

In this week’s episode we talk with Dane about packaging and the rich ecosystem of Python tooling.Dane is the author of Publishing Python Packages, a new Manning book that just came out. In our conversation we dive into some of the specific...

Can I download this Pybites Podcast episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!