uv, Ruff & ty – Modern Python Tooling
The Python tooling landscape is undergoing a revolution. Astral's Rust-based tools – uv, Ruff, and ty – are replacing pip, poetry, flake8, black, isort, and mypy with dramatically faster, unified alternatives. In this hands-on 1-day course, you will migrate real projects to the modern Astral stack: manage dependencies and virtual environments with uv, configure linting rules and auto-formatting with Ruff, and add static type checking with ty. You will learn how to set up CI/CD pipelines, configure pre-commit hooks, and establish team-wide coding standards that run in milliseconds instead of minutes.
Skills You'll Learn
Course Modules & Lessons
uv – Package Management Reimagined
Installing uv, creating projects, managing dependencies and lock files, virtual environments, replacing pip/pip-tools/poetry workflows, Python version management.
Installation & Projekte
Lerne, uv zu installieren und wie Du es für Deine ersten Python-Projekte einsetzt.
Dependencies & Lock-Dateien
Verwalte Abhängigkeiten und erstelle zuverlässige Lock-Dateien mit uv.
Virtuelle Umgebungen
Erforsche, wie uv virtuelle Umgebungen effizient erstellt und verwaltet.
Migration von pip/poetry
Entdecke, wie einfach der Umstieg von pip oder poetry auf uv ist.
Ruff – Linting & Formatting at Rust Speed
Ruff as flake8+isort+black replacement, rule selection and configuration, pyproject.toml setup, auto-fix capabilities, per-file ignores, custom rule sets.
Ruff installieren & konfigurieren
Lerne, wie Du Ruff einrichtest und für Deine Python-Projekte konfigurierst.
Regelauswahl
Wähle die passenden Regeln für Dein Projekt aus, um den Code-Stil zu optimieren.
pyproject.toml-Setup
Richte Ruff in Deiner pyproject.toml korrekt ein, um die Konfiguration zu zentralisieren.
Auto-Fix & Per-File-Ignores
Nutze Auto-Fix und ignoriere Dateien bei Bedarf, um Deinen Workflow zu vereinfachen.
ty – Static Type Checking
Introduction to ty, configuring type checking strictness, understanding type errors, comparison with mypy, integrating ty into existing codebases.
ty einführen
Starte mit ty, dem schnellen Typchecker, und verstehe seine Grundlagen für Python.
Strenge konfigurieren
Passe die Strenge des Typcheckings an Deine Projektanforderungen an.
Typ-Fehler verstehen
Lerne, Typ-Fehler zu identifizieren und zu beheben, um Deinen Code robuster zu machen.
Migration von mypy
Erfahre, wie Du von mypy zu ty wechselst und Deine Typ-Annotationen migrierst.
Team Integration & CI/CD
Pre-commit hooks with Ruff and ty, GitHub Actions pipelines, VS Code/PyCharm integration, migration strategies from legacy tools, establishing team coding standards.
Pre-Commit-Hooks
Integriere Pre-Commit-Hooks, um Code-Qualität vor dem Commit sicherzustellen.
GitHub-Actions-Pipeline
Erstelle eine GitHub-Actions-Pipeline für automatisiertes Linting und Typcheck.
IDE-Integration
Optimiere Deine Entwicklungsumgebung mit einer nahtlosen IDE-Integration.
Team-Standards etablieren
Etabliere teamweite Standards für die Code-Qualität, um Konsistenz zu gewährleisten.
Prerequisites
Your Trainer

David Pinezich
Experienced IT architect and trainer specializing in Python, Cloud Architecture, and Enterprise Solutions. Certified TOGAF, CISSP, and AWS professional with years of hands-on training experience.