Python Packages (Chapman & Hall/CRC The Python Series)
Author: Tomas Beuzen (Author), Tiffany Timbers (Author)
Edition 版次: 1st
Publication Date 出版日期: 2022-04-21
Language 语言: English
Print Length 页数: 222 pages
ISBN-10: 1032029447
ISBN-13: 9781032029443
Book Description
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.
About the Author
Tomas Beuzen is a data scientist and educator based in Sydney, Australia. He has a background in coastal engineering and climate science and was a teaching fellow for the Master of Data Science program at the University of British Columbia, Vancouver. He currently spends his time developing open-source, educational data science material and using data science to solve problems in the natural and engineered world.
Tiffany Timbers is an Assistant Professor of Teaching in the Department of Statistics and a Co-Director for the Master of Data Science program at the University of British Columbia, Vancouver. In these roles she teaches and develops curriculum around the responsible application of Data Science to solve real-world problems.