Helmsman Academy
Programming for platform engineers: Python, Go and Rust

Python for platform automation

5 lessons · about 83 minutes of reading · Helmsman Pro

This page is the public course outline. Lessons, labs, tools and exams open after you sign in to your free account.

Sign in and start

In short

Python as a working engineer uses it: reproducible environments with uv, cloud and Kubernetes automation through official SDKs, reliable CLIs and small services, tests, types and packaging, and the data and AI work that now lands on platform teams.

Before you start: Linux for Kubernetes and Python for DevOps automation (v03).

What you'll learn

Lessons

1. Python foundations for engineers: projects, environments and types

How professionals start a Python project: uv, pyproject.toml, lock files, layout, type hints and the standard library you'll use every day.

Sign in to open the lesson

2. Automating clouds and Kubernetes with Python

Official SDKs for Azure, AWS and Kubernetes, keyless credentials, pagination, retries and idempotent automation.

Sign in to open the lesson

3. Reliable CLIs and small services in Python

Typer CLIs, structured logging, configuration, a FastAPI service with health checks, and a small, non-root container image.

Sign in to open the lesson

4. Testing, typing and packaging Python tools

pytest with fixtures and parametrisation, mocking cloud calls, ruff and mypy in CI, and publishing internal packages.

Sign in to open the lesson

5. Python for cost reports, data and AI operations

Turn cloud bills and metrics into reports, call APIs concurrently, and build AI-assisted tools with guardrails.

Sign in to open the lesson

Common questions

Command to add a dev-only dependency with uv?

uv add --dev pytest

Credential class that works locally and with managed identity?

DefaultAzureCredential

Endpoint Kubernetes uses to decide whether to send traffic?

A readiness endpoint such as /readyz

Decorator for running one test with many inputs?

@pytest.mark.parametrize

Primitive to cap concurrent coroutines?

asyncio.Semaphore