Hypermodern Python Tooling

Building Reliable Workflows for an Evolving Python Ecosystem

Paperback Engels 2024 1e druk 9781098139582
€ 76,02
Levertijd ± 16 werkdagen
Gratis verzonden

Samenvatting

Keeping up with the Python ecosystem can be daunting. Its developer tooling doesn't provide the out-of-the-box experience native to languages like Rust and Go. When it comes to long-term project maintenance or collaborating with others, every Python project faces the same problem: how to build reliable workflows beyond local development while staying in sync with the evolving ecosystem.

With this hands-on guide, Python developers will learn how to forge the moving parts of a Python project into an easy-to-use toolchain, using state-of-the-art tools including Poetry, Nox, pytest, mypy, pre-commit, Black, Ruff, uv, Rye, Hatch, and more. Author Claudio Jolowicz shows you how to create robust Python project structures complete with unit tests, static analysis, code formatting, and type checking.

You'll learn how to:
- Create open source projects with state-of-the-art infrastructure
- Build a custom infrastructure for all Python projects in a company or team
- Improve and modernize the infrastructure of an existing Python project
- Evaluate modern Python tooling for adoption in existing projects
- Use tools for packaging and dependency management
- Automate common development tasks such as testing, dependency updates, and publishing releases

Specificaties

ISBN13:9781098139582
Trefwoorden:Programmeren, Python
Taal:Engels
Bindwijze:paperback
Aantal pagina's:300
Uitgever:O'Reilly
Druk:1
Verschijningsdatum:28-6-2024
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Inhoudsopgave

Preface
Who Should Read This Book?
How This Book Is Organized
References and Further Reading
Conventions Used in This Book
Using Code Examples
O’Reilly Online Learning
How to Contact Us
Acknowledgments

I. Working with Python
1. Installing Python
Supporting Multiple Versions of Python
Locating Python Interpreters
Installing Python on Windows
The Python Launcher for Windows
Installing Python on macOS
Homebrew Python
The python.org Installers
Installing Python on Linux
Fedora Linux
Ubuntu Linux
Other Linux Distributions
The Python Launcher for Unix
Installing Python with pyenv
Installing Python from Anaconda
A Brave New World: Installing with Hatch and Rye
An Overview of Installers
Summary

2. Python Environments
A Tour of Python Environments
Python Installations
The Per-User Environment
Virtual Environments
Installing Applications with pipx
pipx in a Nutshell
Installing pipx
Managing Applications with pipx
Running Applications with pipx
Configuring pipx
Managing Environments with uv
Finding Python Modules
Module Objects
The Module Cache
Module Specs
Finders and Loaders
The Module Path
Site Packages
Back to the Basics
Summary

II. Python Projects
3. Python Packages
The Package Lifecycle
An Example Application
Why Packaging?
The pyproject.toml File
Building Packages with build
Uploading Packages with Twine
Afgekapt op 60 regels

Managementboek Top 100

€ 76,02
Levertijd ongeveer 16 werkdagen
Gratis verzonden

Rubrieken

Producten

    Auteurs

      Trefwoorden

        Artikelen

          Hypermodern Python Tooling