DevPath

Python backend

Python fundamentals through services: types, collections, errors, async concurrency and testing.

9 lessons in mid · 11 practice activities

Start learning

Language foundations

Lessons

  1. Transform data without loading everything Mid · 12 min
  2. Use generators to keep pipelines bounded Mid · 12 min
  3. Keep Python type hints honest Mid · 12 min

Practice

ActivityTypeLevel
De-duplicate values preserving order fluency Foundation Preview
Filter and transform with a comprehension fluency Foundation Preview
Model money with a validated dataclass fluency Foundation Preview
Stream a large file without loading it practical lab Mid Preview

Data, errors and testing

Lessons

  1. Write tests for rejected and duplicate work Mid · 12 min
  2. Keep a database operation all-or-nothing Mid · 12 min
  3. Build tests that explain behavior Mid · 12 min

Practice

ActivityTypeLevel
Fix a SQL injection debugging Mid Preview
Stop swallowing a missing record debugging Mid Preview
Validate a request payload with specific errors practical lab Foundation Preview
Write a pytest for a rejected duplicate tests Mid Preview

Services and concurrency

Lessons

  1. Make a payment handler safe to replay Mid · 12 min
  2. Let async service work stop cleanly Mid · 12 min
  3. Observe queues and external calls Mid · 12 min

Practice

ActivityTypeLevel
Add exponential backoff with jitter practical lab Mid Preview
Make a queued payment handler safe to retry practical lab Mid Preview
Run async I/O with bounded concurrency practical lab Mid Preview