Are you interested in sharing your Python project with the broader world? Would you like to make it easily installable using pip? How do you create Python packages that share your code in a scalable and maintainable way? This week on the show, Real Python author and former guest Dane Hillard returns to talk about his new book, “Publishing Python Packages.”

Dane shares his research into creating Python packages. We talk about the tools, techniques, and potential pitfalls of publishing your packages. Dane also discusses his experiences unraveling projects and determining dependencies.

We also talk about Dane’s recent conference talk at PyGotham titled “Keeping code safe and modern with semantic searches.” He shares some security tools and practices.

Course Spotlight: Documenting Python Code: A Complete Guide

This course will get you up to speed with how to document your Python code. Documenting your code is an important step to help developers and users fully understand its usage and purpose.

Topics:

  • 00:00:00 – Introduction
  • 00:01:57 – PyGotham Talk: Keeping code safe and modern with semantic searches
  • 00:06:24 – What was the driving reason for starting Publishing Pyhton Packages?
  • 00:08:54 – What is CookieCutter?
  • 00:11:53 – The book as a research project
  • 00:15:20 – Sponsor: CData Software
  • 00:16:01 – What is a package?
  • 00:18:56 – What is a published package?
  • 00:25:37 – What other experiences made you want to write this book?
  • 00:28:05 – Where to start?
  • 00:33:26 – Balance of examples and explanation
  • 00:40:49 – Cohesion and studying the relationships between sections of code
  • 00:46:19 – Documentation and tools like Sphinx
  • 00:50:18 – Video Course Spotlight
  • 00:51:30 – What were you most excited to share in the book?
  • 00:54:06 – Additional resources for packaging
  • 00:57:17 – What are you excited about in the world of Python?
  • 00:57:53 – What do you want to learn next?
  • 00:59:30 – Shout outs and plugs
  • 01:00:28 – Thanks and goodbye

Show Links:

Level up your Python skills with our expert-led courses:

Support the podcast & join our community of Pythonistas