Training course · Claude Code · Python Development

Claude Code for Python Developers

Agentic coding with Claude Code in the terminal and IDE: CLAUDE.md, subagents, hooks, MCP, CI pipelines and secure permissions.

Duration
2 days (14 hrs)
Format
Online or on-site
Language
German or English
Participants
open dates or exclusive for your team
Certificate
Certificate of attendance

Overview

“Claude Code for Python Developers” is a hands-on course for roles such as Python back-end developers working with Django, Flask or FastAPI, Automation and scripting specialists in IT and business units and Data and ML engineers maintaining production Python code. Rather than learning Claude Code in the abstract, you work on tasks from your daily routine – with examples, exercises and templates from Python Development.

Claude Code is Anthropic’s agentic coding assistant, working directly in your terminal and in popular IDEs. Rather than completing individual lines, it reads your repository, plans changes across multiple files, runs commands, executes tests and prepares commits. Over two days you will learn to use it with deliberate control: clear project instructions in CLAUDE.md, careful context management, and a workflow in which you set the direction as a developer and can trace every change the agent makes back to a clear intention.

The course is built around real engineering work: diagnosing bugs, delivering features, refactoring legacy code and filling gaps in test coverage. You will configure subagents for specialised tasks, enforce quality checks with hooks, connect external systems through the Model Context Protocol (MCP) and capture team knowledge as reusable skills. Finally, you will run Claude Code headless in CI pipelines and define permissions, sandboxing and approval rules so that its use remains defensible even in security-sensitive environments.

Python powers web back ends, automation, data pipelines and AI applications – often inside the same organisation, which makes codebases notoriously diverse. AI coding assistants and agents have a particularly visible impact here: they write pytest suites around your existing fixtures, add type hints until mypy passes cleanly, migrate legacy scripts to modern packaging with pyproject.toml and walk you through an unfamiliar Django or FastAPI project in minutes rather than days. The key is steering these tools with the right context: project conventions, Ruff rules, test commands and architectural decisions belong in instruction files and prompts. Once you master that, you can delegate routine work with confidence and focus on design, review and business logic.

The course is delivered live – either online in a virtual classroom or on-site in our training rooms in Munich, Salzburg, Berlin, Augsburg, Hanover, Bremen, Stuttgart and Kaiserslautern. We can also run it exclusively for your team.

Who is this course for?

  • Python back-end developers working with Django, Flask or FastAPI
  • Automation and scripting specialists in IT and business units
  • Data and ML engineers maintaining production Python code
  • Tech leads responsible for code quality and review processes
  • Developers modernising legacy Python codebases

Typical challenges we address

  • Ageing codebases with no type hints and patchy test coverage
  • Dependency sprawl across requirements.txt, Poetry, uv and virtual environments
  • Time-consuming reviews and inconsistent style despite linters and formatters
  • Onboarding into unfamiliar projects that rely on undocumented tribal knowledge

What you will be able to do

  • You use Claude Code for multi-step development tasks while keeping full control over every change.
  • You maintain a CLAUDE.md that effectively conveys project conventions, commands and architectural guidance to the agent.
  • You extend Claude Code with subagents, hooks, MCP servers and skills tailored to your team.
  • You integrate Claude Code into Git workflows and CI pipelines with traceable, test-backed results.
  • Have AI agents reliably deliver pytest suites, type hints and refactorings across your Python codebase.
  • Encode project conventions, tooling such as Ruff, mypy and uv, and test commands so the assistant follows them consistently.
  • Review generated Python code systematically for correctness, security and maintainability before it is merged.

Course outline

Day 1

Module 1 How Claude Code works
  • Installation, sign-in and use in the terminal, VS Code and JetBrains IDEs
  • Understanding the agentic loop: read, plan, act, verify
  • Using plan mode to agree on an approach before any code changes
  • Writing effective task briefs with goal, context and acceptance criteria
Module 2 Project context with CLAUDE.md and context management
  • Structuring CLAUDE.md at project, directory and user level
  • Documenting build, test and style conventions so the agent follows them reliably
  • Managing the context window with targeted file references, compaction and fresh sessions
  • Resuming sessions and breaking long tasks into manageable stages
Module 3 Extending Claude Code with subagents, hooks, MCP and skills
  • Defining subagents for code review, research or test generation
  • Using hooks to enforce formatting, linting or checks before and after tool calls
  • Connecting MCP servers for issue trackers, databases or internal documentation
  • Creating custom slash commands and skills for recurring team workflows
Module 4 Git workflows, testing and quality assurance
  • Creating branches, meaningful commits and pull requests with Claude Code
  • Test-first work: have tests written before the implementation
  • Reviewing diffs systematically and rejecting or refining changes
  • Organising parallel work with Git worktrees and multiple sessions

Day 2

Module 5 Headless operation, CI and security
  • Running Claude Code non-interactively in scripts and CI pipelines
  • Automated reviews and issue handling in GitHub or GitLab workflows
  • Configuring permission modes, allow and deny rules, and sandboxing
  • Handling secrets, prompt injection risks and organisation-wide policies
Module 6 Practice lab: Python Development
  • Generating pytest tests
  • Type hints and mypy clean-up
  • Django migrations and ORM refactoring
  • FastAPI endpoints with Pydantic
  • Modernising legacy scripts
  • Understanding and documenting a codebase
Module 7 Data protection, quality & transfer to daily work
  • Define which source code may be sent to cloud-hosted models, keep secrets from .env files strictly out of context, and check generated code for licence carry-over and newly introduced PyPI dependencies (typosquatting, supply-chain risk). For products with digital elements, obligations under the Cyber Resilience Act are becoming increasingly relevant.
  • Ground rules for safe AI use in your team
  • Checking results: facts, sources, tests and the four-eyes principle
  • Personal action plan for the next 30 days
  • Open questions, outlook and resources for further learning

Practical scenarios from your field

Generating pytest tests

The assistant inspects functions and existing fixtures, writes parametrised pytest tests covering edge cases and mocks for external services, then runs them iteratively until they pass and reach the coverage you are aiming for.

Type hints and mypy clean-up

Untyped code is annotated module by module with type hints, TypedDicts and Protocols. The agent runs mypy or Pyright, interprets the output and fixes issues step by step without changing runtime behaviour.

Django migrations and ORM refactoring

Model changes are planned together with data migrations, makemigrations conflicts are resolved and N+1 queries are fixed with select_related or prefetch_related. The AI flags risks to existing production data before you deploy.

FastAPI endpoints with Pydantic

From a functional description or an OpenAPI draft, the assistant produces Pydantic models, routers, dependency injection and validation logic, complete with error handling and matching tests using the TestClient.

Modernising legacy scripts

Old scripts become proper packages with pyproject.toml, global state is removed, argparse or Click interfaces are added and Ruff rules applied. The agent documents every change clearly in the commit history.

Understanding and documenting a codebase

The assistant explores an unfamiliar repository, produces architecture overviews, explains data flows between modules and fills in missing docstrings in Google or NumPy style so new team members become productive faster.

Possible hands-on projects

Log analysis CLI

A Typer-based command-line tool that reads application logs, clusters error patterns and outputs a concise summary as Markdown or JSON – shipped with tests and proper packaging.

FastAPI microservice with a database

A small REST service with SQLAlchemy, Alembic migrations, Pydantic validation and a Docker setup, planned, implemented and tested end to end by an AI agent.

Dependency audit script

A script that lists all project dependencies, checks for outdated or vulnerable packages against public advisory databases and produces a prioritised upgrade report.

Prerequisites

You have hands-on programming experience in at least one language and are comfortable with Git and the command line. Solid Python skills plus hands-on experience with Git, virtual environments and at least one framework such as Django, Flask or FastAPI.

Technical requirements

Your own laptop with admin rights, Git, a Node.js runtime and an up-to-date editor; a Claude subscription or Anthropic API access is required for the exercises.

Data protection & compliance

Define which source code may be sent to cloud-hosted models, keep secrets from .env files strictly out of context, and check generated code for licence carry-over and newly introduced PyPI dependencies (typosquatting, supply-chain risk). For products with digital elements, obligations under the Cyber Resilience Act are becoming increasingly relevant.

Suggested dates

All dates are suggestions – your preferred date is always possible.

  • Wed, 25 November 2026 – Thu, 26 November 2026 Online Request
  • Thu, 10 December 2026 – Fri, 11 December 2026 Salzburg Request
  • Mon, 14 December 2026 – Tue, 15 December 2026 Online Request
  • Tue, 19 January 2027 – Wed, 20 January 2027 Bremen Request
  • Mon, 25 January 2027 – Tue, 26 January 2027 Online Request
  • Thu, 11 February 2027 – Fri, 12 February 2027 Augsburg Request

Frequently asked questions

How is Claude Code different from traditional code completion?

Code completion suggests the next few lines, whereas Claude Code acts as an agent that handles whole tasks: it searches the repository, plans changes across several files, runs tests and commands, and corrects itself based on the results. You define the goal and review the outcome instead of steering every single line yourself.

Is Claude Code secure enough for enterprise use?

By default, Claude Code asks for approval before editing files or running commands. Permission rules, sandboxing, managed settings and hooks let you define precisely what the agent may do. During the course you learn to configure these mechanisms to match your security and data protection requirements and to assess risks such as prompt injection.

Does Claude Code work with my language and tech stack?

Yes. Claude Code is language-agnostic because it works with files, terminal commands and your existing build and test tooling. Whether you use Python, Java, TypeScript, Go, SAP-related code or infrastructure as code, what matters most is a well-written CLAUDE.md describing your commands and conventions. Each course variant adds the relevant domain focus.

Does AI-assisted coding work in large Django monoliths?

Yes, provided the agent gets the right context. On the course you learn to create instruction files describing architecture rules, app structure and test commands, and to scope tasks so the assistant works on individual apps or modules. Changes stay manageable and reviewable even when the overall project is very large.

Will AI replace my code reviews?

No. AI assistants speed up writing code and can prepare reviews by pointing out missing tests or risky sections, but functional and security accountability stays with your team. We show how to combine review checklists, static analysis and tests so that generated code meets exactly the same quality bar as hand-written code.

How much does “Claude Code for Python Developers” cost?

The course costs a flat €949 plus VAT per participant – whether online or on-site. This includes 2 training day(s) with a live trainer, course materials, a lab environment and a certificate of attendance.

Can I suggest my own date?

Yes. Our suggested dates are just a guide. In the request form you can always describe your preferred date or period in free text – we check availability and confirm within one working day.

Is the course online or on-site?

Both are possible: live online in a virtual classroom or on-site in Munich, Salzburg, Berlin, Augsburg, Hanover, Bremen, Stuttgart or Kaiserslautern. We can also run the course exclusively for your team.

More courses for Python Developers

More Claude Code courses

All 77 Claude Code courses