商品描述
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 套件》** 以入門和實用的方式介紹 Python 套件管理,適合沒有任何套件經驗的讀者。儘管如此,文本逐步深入到進階主題,例如自動化測試、創建文檔、版本控制和更新套件,以及實施持續集成和部署。這本重要的指南涵蓋了整個 Python 套件生命週期,帶領讀者從套件創建一直到有效的維護和更新。
**《Python 套件》** 專注於使用當前最佳實踐的套件工具和服務,如 poetry、cookiecutter、pytest、sphinx、GitHub 和 GitHub Actions。
特點:
- 本書的源代碼可在線上作為 GitHub 倉庫獲得,並在其中進行協作,自動測試,並在變更時實時構建;展示了良好的可重現性和清晰的專案工作流程的使用。
- 不僅涵蓋創建套件的過程,還包括如何為其撰寫文檔、測試、發佈到 Python 套件索引 (PyPI),以及如何正確版本控制和更新。
- 書中的所有概念都通過示例進行演示。讀者可以跟隨,使用文本中提供的可重現代碼創建自己的 Python 套件。
- 專注於現代的 Python 套件管理方法,強調使用新興工具如 poetry 和 GitHub Actions 自動化和簡化套件過程。
作者簡介
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.
作者簡介(中文翻譯)
Tomas Beuzen 是一位位於澳洲悉尼的數據科學家和教育工作者。他擁有海岸工程和氣候科學的背景,曾擔任不列顛哥倫比亞大學(University of British Columbia)溫哥華校區數據科學碩士課程的教學研究員。目前,他專注於開發開源的教育數據科學材料,並利用數據科學解決自然和工程領域的問題。
Tiffany Timbers 是不列顛哥倫比亞大學(University of British Columbia)溫哥華校區統計系的教學助理教授,並擔任數據科學碩士課程的共同主任。在這些角色中,她教授並開發有關負責任地應用數據科學以解決現實世界問題的課程。