Articles liés à uv for Modern Python Development: A Hands-On Guide...

uv for Modern Python Development: A Hands-On Guide to Fast Dependency Management, Virtual Environments, Workspaces, Packaging, CI/CD, and Migration from pip and Poetry - Couverture souple

Koele, Haider

 
9798163849741: uv for Modern Python Development: A Hands-On Guide to Fast Dependency Management, Virtual Environments, Workspaces, Packaging, CI/CD, and Migration from pip and Poetry

Synopsis

Tired of confusing Python installations, dependency conflicts, and virtual environments that never seem to work the way you expect?

Managing Python projects shouldn't be harder than writing Python code. Whether you're starting your first serious project or struggling with traditional development tools, uv for Modern Python Development offers a simpler, faster, and more organized way forward.

This practical, beginner-friendly guide introduces uv through clear explanations, manageable examples, and step-by-step exercises. No previous experience with uv is required. With basic Python and command-line familiarity, you'll learn how to build reliable development workflows without getting overwhelmed by complicated configurations.

Rather than memorizing commands, you'll develop a real Python application from scratch, gradually adding dependencies, automated tests, reusable packages, and production-ready workflows. Mistakes become opportunities to learn, and every completed exercise builds confidence.

Key Features
  • Step-by-step instruction: Learn essential uv commands and workflows through clear, approachable explanations.

  • Hands-on project: Build and improve a practical Data Audit CLI application throughout the book.

  • Real-world development skills: Apply modern practices for dependency management, packaging, testing, and automation.

  • Practical exercises and references: Reinforce your knowledge with chapter exercises, command references, and useful checklists.

What You Will Learn
  • Install uv, manage Python versions, and create isolated virtual environments.

  • Configure Python projects using pyproject.toml, resolve dependencies, and maintain reproducible lockfiles.

  • Run Python scripts, manage developer tools, and organize multi-package workspaces.

  • Build, validate, and publish Python packages using modern packaging workflows.

  • Automate testing and builds with GitHub Actions, CI/CD pipelines, and Docker.

  • Manage private package indexes, dependency security, and installation performance.

  • Migrate existing projects from pip, pip-tools, and Poetry while maintaining reliable production workflows.

Who This Book Is For

This book is ideal for Python learners, students, self-taught developers, software engineers, and professionals who want to simplify their development environments. Whether you're completely new to uv or looking to modernize an existing Python project, you'll find practical guidance that builds on your existing Python knowledge.

Table of Contents

Chapter 1: uv Fundamentals and Modern Python Development

Chapter 2: Python Version Management, Virtual Environments, and Project Setup

Chapter 3: Dependency Management, Resolution, and Reproducible Lockfiles

Chapter 4: Python Scripts, Developer Tools, and Local Development Workflows

Chapter 5: Python Workspaces and Multi-Package Development

Chapter 6: Python Packaging, Distribution Builds, and PyPI Publishing

Chapter 7: CI/CD Automation, Testing, Caching, and Docker Integration

Chapter 8: Private Package Indexes, Dependency Security, and Performance

Chapter 9: Migrating Python Projects from pip, pip-tools, and Poetry

Chapter 10: Production Python Workflows, Team Collaboration, and Maintenance

Start Building Better Python Workflows Today

You don't need to master every development tool at once. With practical guidance, achievable exercises, and a clear learning path, you can develop the skills to manage Python projects with greater confidence.

Get your copy of uv for Modern Python Development today and take the next step toward faster, cleaner, and more reliable Python development!

Les informations fournies dans la section « Synopsis » peuvent faire référence à une autre édition de ce titre.