Skip to main content
    Back to Courses
    Intermediate

    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.

    4 Modules
    16 Lessons
    1 Tag
    uv, Ruff & ty – Modern Python Tooling – 1 Tag Tooling course at apigenio

    Skills You'll Learn

    uv Package Manager
    Ruff Linter & Formatter
    ty Type Checker
    pyproject.toml Configuration
    Pre-Commit Hooks
    CI/CD Pipeline Setup
    Python Version Management
    Migration from Legacy Tools

    Course Modules & Lessons

    1

    uv – Package Management Reimagined

    Installing uv, creating projects, managing dependencies and lock files, virtual environments, replacing pip/pip-tools/poetry workflows, Python version management.

    2.5h
    Installation & Projekte

    Lerne, uv zu installieren und wie Du es für Deine ersten Python-Projekte einsetzt.

    40min
    Dependencies & Lock-Dateien

    Verwalte Abhängigkeiten und erstelle zuverlässige Lock-Dateien mit uv.

    40min
    Virtuelle Umgebungen

    Erforsche, wie uv virtuelle Umgebungen effizient erstellt und verwaltet.

    35min
    Migration von pip/poetry

    Entdecke, wie einfach der Umstieg von pip oder poetry auf uv ist.

    35min
    2

    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.

    2h
    Ruff installieren & konfigurieren

    Lerne, wie Du Ruff einrichtest und für Deine Python-Projekte konfigurierst.

    30min
    Regelauswahl

    Wähle die passenden Regeln für Dein Projekt aus, um den Code-Stil zu optimieren.

    30min
    pyproject.toml-Setup

    Richte Ruff in Deiner pyproject.toml korrekt ein, um die Konfiguration zu zentralisieren.

    30min
    Auto-Fix & Per-File-Ignores

    Nutze Auto-Fix und ignoriere Dateien bei Bedarf, um Deinen Workflow zu vereinfachen.

    30min
    3

    ty – Static Type Checking

    Introduction to ty, configuring type checking strictness, understanding type errors, comparison with mypy, integrating ty into existing codebases.

    1.5h
    ty einführen

    Starte mit ty, dem schnellen Typchecker, und verstehe seine Grundlagen für Python.

    25min
    Strenge konfigurieren

    Passe die Strenge des Typcheckings an Deine Projektanforderungen an.

    20min
    Typ-Fehler verstehen

    Lerne, Typ-Fehler zu identifizieren und zu beheben, um Deinen Code robuster zu machen.

    20min
    Migration von mypy

    Erfahre, wie Du von mypy zu ty wechselst und Deine Typ-Annotationen migrierst.

    25min
    4

    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.

    2h
    Pre-Commit-Hooks

    Integriere Pre-Commit-Hooks, um Code-Qualität vor dem Commit sicherzustellen.

    30min
    GitHub-Actions-Pipeline

    Erstelle eine GitHub-Actions-Pipeline für automatisiertes Linting und Typcheck.

    30min
    IDE-Integration

    Optimiere Deine Entwicklungsumgebung mit einer nahtlosen IDE-Integration.

    30min
    Team-Standards etablieren

    Etabliere teamweite Standards für die Code-Qualität, um Konsistenz zu gewährleisten.

    30min

    Prerequisites

    • Basic Python knowledge
    • Familiarity with pip or poetry
    • Git basics
    • Laptop with Python 3.10+ installed

    Ready to start?

    Join thousands of students already learning.

    Your Trainer

    David Pinezich

    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.

    We use analytics cookies to improve our website. Learn more