Publishing Python Packages you own this product

Test, share, and automate your projects
Dane Hillard
  • MEAP began August 2021
  • Publication in December 2022 (estimated)
  • ISBN 9781617299919
  • 245 pages (estimated)
  • printed in black & white
filed under

placing your order...

Don't refresh or navigate away from the page.
eBook Our eBooks come in DRM-free Kindle, ePub, and PDF formats + liveBook, our enhanced eBook format accessible from any web browser. $25.99 $39.99 you save $14 (35%)
Publishing Python Packages (eBook) added to cart
continue shopping
adding to cart

print + eBook Receive a print copy shipped to your door + the eBook in Kindle, ePub, & PDF formats + liveBook, our enhanced eBook format accessible from any web browser. $32.49 $49.99 you save $17 (35%)
FREE domestic shipping on orders of three or more print books
Publishing Python Packages (print + eBook) added to cart
continue shopping
adding to cart

This book definitely occupies an unfilled need.

Eric Chiang
Look inside
Create Python packages to share your code in a scalable and maintainable way. Improve team productivity, publish helpful libraries, or even start your own open source project following the latest Python packaging standards.

In Publishing Python Packages you will learn how to:

  • Build extensions and console script commands
  • Use tox to automate packaging, installing, and testing
  • Build a continuous integration pipeline using GitHub Actions
  • Improve code quality and reduce manual review using bandit, black, mypy, and radon
  • Create published documentation for your packages
  • Keep packages up to date with pyupgrade and Dependabot
  • Foster an open source community using GitHub features

Publishing Python Packages teaches you how to easily share your Python code with your team and the outside world. Learn a repeatable and highly automated process for package maintenance that’s based on the best practices, tools, and standards of Python packaging. Whether you’re entirely new to Python packaging or looking for optimal ways to maintain and scale your packages, this fast-paced and engaging guide is for you.

about the technology

Python packages are a great way to share your code and give a productivity boost to your colleagues and community. Whether you’re reusing your code internally or contributing to open source, a properly automated system of packaging will save you from time-consuming manual maintenance.

about the book

Publishing Python Packages: Test, share, and automate your projects reveals best practices and standards for packaging your Python code in an easy, automated, and scalable way. The book walks you through creating a complete package, including a C extension, and guides you all the way to publishing on the Python Package Index. You’ll get hands-on experience with the latest packaging tools, and learn the ins-and-outs of package testing and continuous integration. You’ll even learn how to set up a successful open source project, including licensing, documentation, and nurturing a community of contributors.

about the reader

For Python programmers who are new to packaging or looking to optimize their packaging process with the latest standards.

about the author

Dane Hillard has spent the majority of his development career using Python to build web applications.

FREE domestic shipping on orders of three or more print books

Takes you through the understanding of what packaging is into all the details of how it works and demonstrates each step with a clear example. I learned a lot.

Mike Baran

Narrative is succinct and convincing. The ideas and principles, covered in the book come from the author's deep expertise.

Kevin Etienne

The type of gem you would expect to see many books about.

Jose Apablaza