Publishing Python Packages


Download Publishing Python Packages PDF/ePub or read online books in Mobi eBooks. Click Download or Read Online button to get Publishing Python Packages book now. This website allows unlimited access to, at the time of writing, more than 1.5 million titles, including hundreds of thousands of titles in various foreign languages.

Download

Publishing Python Packages


Publishing Python Packages

Author: Dane Hillard

language: en

Publisher: Simon and Schuster

Release Date: 2023-02-28


DOWNLOAD





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

Python Packages


Python Packages

Author: Tomas Beuzen

language: en

Publisher: CRC Press

Release Date: 2022-04-20


DOWNLOAD





Python Packages introduces Python packaging at an introductory and practical level that’s suitable for those with no previous packaging experience. Despite this, the text builds up to advanced topics such as automated testing, creating documentation, versioning and updating a package, and implementing continuous integration and deployment. Covering the entire Python packaging life cycle, this essential guide takes readers from package creation all the way to effective maintenance and updating. Python Packages focuses on the use of current and best-practice packaging tools and services like poetry, cookiecutter, pytest, sphinx, GitHub, and GitHub Actions. Features: The book’s source code is available online as a GitHub repository where it is collaborated on, automatically tested, and built in real time as changes are made; demonstrating the use of good reproducible and clear project workflows. Covers not just the process of creating a package, but also how to document it, test it, publish it to the Python Package Index (PyPI), and how to properly version and update it. All concepts in the book are demonstrated using examples. Readers can follow along, creating their own Python packages using the reproducible code provided in the text. Focuses on a modern approach to Python packaging with emphasis on automating and streamlining the packaging process using new and emerging tools such as poetry and GitHub Actions.

Python 3 Fundamentals


Python 3 Fundamentals

Author: Robert Johnson

language: en

Publisher: HiTeX Press

Release Date: 2024-10-29


DOWNLOAD





"Python 3 Fundamentals: A Complete Guide for Modern Programmers" is an authoritative resource designed to equip both novice and experienced developers with a thorough understanding of Python programming. Written by an expert in computer science and software engineering, this comprehensive guide navigates through essential Python topics, providing readers with a definitive pathway to mastery. From setting up the Python environment and understanding variables and data types, to exploring control flow, functions, and data structures, every chapter is meticulously crafted to offer clear, insightful explanations alongside practical examples. Delving deeper, the book expands on advanced concepts such as object-oriented programming, exception handling, and file management, ensuring readers gain a solid foundation in developing scalable, efficient Python applications. With sections dedicated to leveraging Python's expansive libraries and frameworks, as well as integrating best practices for testing and debugging, this guide is not only a learning tool but also a valuable reference for creating robust, high-quality software. Whether you're building web applications, automating tasks, or embarking on data analysis, this guide empowers you with the skills needed to harness the full potential of Python in any domain.