Free Download Mastering Python Packaging: A Comprehensive Guide to Building, Distributing, and Maintaining Robust Packages
by Mike Murray
English | March 23, 2024 | ASIN: B0CYYH1G11 | 239 pages | PDF | 59 Mb
Python’s rich ecosystem of packages and libraries is one of its greatest strengths, enabling developers to build upon the work of others and leverage pre-existing solutions. However, as projects grow in complexity, managing dependencies and distributing code can become challenging.
This book provides a comprehensive guide to Python packaging, covering every aspect from structuring packages and managing dependencies to building distributions, publishing to package repositories, integrating with CI/CD pipelines, and maintaining packages over time.
Through practical examples and best practices, readers will learn how to create well-organized, maintainable, and distributable Python packages that adhere to industry standards. The book explores the key components of the packaging ecosystem, including PyPI, pip, setuptools, build, and venv, as well as modern tools like poetry.
Whether you’re a seasoned developer working on complex projects or a beginner seeking a solid foundation in packaging, this book will equip you with the knowledge and skills to unlock the full potential of your Python projects and contribute to the vibrant open-source community.