Create masterful, maintainable Python packages! This book includes pro tips for design, automation, testing, deployment, and even release as an open source project!
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 black, mypy, and flake8
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. This 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. 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.
Foreword by David Beazley.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the technology
Successful Python packages install easily, run flawlessly, and stay reliably up to date. Publishing perfect Python packages requires a rigorous process that supports systematic testing and review, along with excellent documentation. Fortunately, the Python ecosystem includes tools and techniques to automate package creation and publishing.
About the book
Publishing Python Packages presents a practical process for sharing Python code in an automated and scalable way. Get hands-on experience with the latest packaging tools, and learn the ins and outs of package testing and continuous integration. You’ll even get pro tips for setting up a maintainable open source project, including licensing, documentation, and nurturing a community of contributors.
What's inside
Build extensions and console script commands
Improve code quality with automated review and testing
Create excellent documentation
Keep packages up to date with pyupgrade and Dependabot
About the reader
For intermediate Python programmers.
About the author
Dane Hillard has spent the majority of his development career using Python to build web applications.
Table of Contents
PART 1 FOUNDATIONS
1 The what and why of Python packages
2 Preparing for package development
3 The anatomy of a minimal Python package
PART 2 CREATING A VIABLE PACKAGE
4 Handling package dependencies, entry points, and extensions
5 Building and maintaining a test suite
6 Automating code quality tooling
PART 3 GOING PUBLIC
7 Automating work through continuous integration
8 Authoring and maintaining documentation
9 Making a package evergreen
10 Scaling and solidifying your practices
11 Building a community
"synopsis" may belong to another edition of this title.
Dane Hillard has spent the majority of his development career using Python to build web applications. During his career, he has worked across the intelligence research, personalized medicine, and academic publishing fields and now works as a technical architect and technical advisor.
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:
"About this title" may belong to another edition of this title.
US$ 3.75 shipping within U.S.A.
Destination, rates & speedsSeller: HPB-Red, Dallas, TX, U.S.A.
paperback. Condition: Good. Connecting readers with great books since 1972! Used textbooks may not include companion materials such as access codes, etc. May have some wear or writing/highlighting. We ship orders daily and Customer Service is our top priority! Seller Inventory # S_421376508
Quantity: 1 available
Seller: GreatBookPrices, Columbia, MD, U.S.A.
Condition: New. Seller Inventory # 44434070-n
Quantity: Over 20 available
Seller: PBShop.store US, Wood Dale, IL, U.S.A.
PAP. Condition: New. New Book. Shipped from UK. Established seller since 2000. Seller Inventory # PB-9781617299919
Quantity: 15 available
Seller: GreatBookPrices, Columbia, MD, U.S.A.
Condition: As New. Unread book in perfect condition. Seller Inventory # 44434070
Quantity: Over 20 available
Seller: INDOO, Avenel, NJ, U.S.A.
Condition: As New. Unread copy in mint condition. Seller Inventory # SS9781617299919
Quantity: Over 20 available
Seller: INDOO, Avenel, NJ, U.S.A.
Condition: New. Brand New. Seller Inventory # 9781617299919
Quantity: Over 20 available
Seller: Grand Eagle Retail, Fairfield, OH, U.S.A.
Paperback. Condition: new. Paperback. 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 commandsUse tox to automate packaging, installing, and testingBuild a continuous integration pipeline using GitHub ActionsImprove code quality and reduce manual review using bandit, black, mypy, and radonCreate published documentation for your packagesKeep packages up to date with pyupgrade and DependabotFoster 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. Shipping may be from multiple locations in the US or from the UK, depending on stock availability. Seller Inventory # 9781617299919
Quantity: 1 available
Seller: Books Puddle, New York, NY, U.S.A.
Condition: New. Seller Inventory # 26390183915
Quantity: 2 available
Seller: PBShop.store UK, Fairford, GLOS, United Kingdom
PAP. Condition: New. New Book. Shipped from UK. Established seller since 2000. Seller Inventory # PB-9781617299919
Quantity: 15 available
Seller: Romtrade Corp., STERLING HEIGHTS, MI, U.S.A.
Condition: New. This is a Brand-new US Edition. This Item may be shipped from US or any other country as we have multiple locations worldwide. Seller Inventory # ABNR-31684
Quantity: 5 available