Description

Book Synopsis
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 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.

Trade Review

'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

'This book definitely occupies an unfilled need.' Eric Chiang



Table of Contents
table of contents PART 1: FOUNDATIONS READ IN LIVEBOOK 1THE WHAT AND WHY OF PYTHON PACKAGES READ IN LIVEBOOK 2PREPARING FOR PACKAGE DEVELOPMENT READ IN LIVEBOOK 3THE ANATOMY OF A MINIMAL PYTHON PACKAGE PART 2: CREATING A VIABLE PACKAGE READ IN LIVEBOOK 4HANDLING PACKAGE DEPENDENCIES, ENTRY POINTS, AND EXTENSIONS READ IN LIVEBOOK 5BUILDING AND MAINTAINING A TEST SUITE READ IN LIVEBOOK 6AUTOMATING CODE QUALITY TOOLING PART 3: GOING PUBLIC 7 AUTOMATING WORK THROUGH CONTINUOUS INTEGRATION 8 AUTHORING AND MAINTAINING DOCUMENTATION 9 MAKING A PACKAGE EVERGREEN PART 4: THE LONG HAUL 10 CREATING A REPEATABLE PROCESS 11 BUILDING AN OPEN SOURCE COMMUNITY APPENDIXES READ IN LIVEBOOK APPENDIX A: INSTALLING ASDF AND PYTHON-LAUNCHER READ IN LIVEBOOK APPENDIX B: INSTALLING PIPX, BUILD, AND TOX

Publishing Python Packages

    Product form

    £34.19

    Includes FREE delivery

    RRP £37.99 – you save £3.80 (10%)

    Order before 4pm today for delivery by Wed 1 Jul 2026.

    A Paperback / softback by Dane Hillard

    20 in stock

      Trusted by thousands of customers. See 2,385+ Customer Reviews

      View other formats and editions of Publishing Python Packages by Dane Hillard

      Publisher: Manning Publications
      Publication Date: 12/01/2023
      ISBN13: 9781617299919, 978-1617299919
      ISBN10: 161729991X

      Description

      Book Synopsis
      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 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.

      Trade Review

      '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

      'This book definitely occupies an unfilled need.' Eric Chiang



      Table of Contents
      table of contents PART 1: FOUNDATIONS READ IN LIVEBOOK 1THE WHAT AND WHY OF PYTHON PACKAGES READ IN LIVEBOOK 2PREPARING FOR PACKAGE DEVELOPMENT READ IN LIVEBOOK 3THE ANATOMY OF A MINIMAL PYTHON PACKAGE PART 2: CREATING A VIABLE PACKAGE READ IN LIVEBOOK 4HANDLING PACKAGE DEPENDENCIES, ENTRY POINTS, AND EXTENSIONS READ IN LIVEBOOK 5BUILDING AND MAINTAINING A TEST SUITE READ IN LIVEBOOK 6AUTOMATING CODE QUALITY TOOLING PART 3: GOING PUBLIC 7 AUTOMATING WORK THROUGH CONTINUOUS INTEGRATION 8 AUTHORING AND MAINTAINING DOCUMENTATION 9 MAKING A PACKAGE EVERGREEN PART 4: THE LONG HAUL 10 CREATING A REPEATABLE PROCESS 11 BUILDING AN OPEN SOURCE COMMUNITY APPENDIXES READ IN LIVEBOOK APPENDIX A: INSTALLING ASDF AND PYTHON-LAUNCHER READ IN LIVEBOOK APPENDIX B: INSTALLING PIPX, BUILD, AND TOX

      Recently viewed products

      © 2026 Book Curl

        • American Express
        • Apple Pay
        • Diners Club
        • Discover
        • Google Pay
        • Maestro
        • Mastercard
        • PayPal
        • Shop Pay
        • Union Pay
        • Visa

        Login

        Forgot your password?

        Don't have an account yet?
        Create account