DevPath

Python backend

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

18 lessons in all levels · 11 practice activities

Start learning

Language foundations

Lessons

  1. Choose clear Python data shapes Foundation · 13 min
  2. Model values without losing meaning Foundation · 12 min
  3. Transform data without loading everything Mid · 12 min
  4. Use generators to keep pipelines bounded Mid · 12 min
  5. Keep Python type hints honest Mid · 12 min
  6. Design a stable Python library boundary Senior · 16 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. Test failure paths as contracts Foundation · 14 min
  2. Validate payloads and protect SQL Foundation · 12 min
  3. Write tests for rejected and duplicate work Mid · 12 min
  4. Keep a database operation all-or-nothing Mid · 12 min
  5. Build tests that explain behavior Mid · 12 min
  6. Backfill data without overwhelming production Senior · 16 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. Bound concurrent service work Foundation · 14 min
  2. Retry transient failures with a budget Foundation · 12 min
  3. Make a payment handler safe to replay Mid · 12 min
  4. Let async service work stop cleanly Mid · 12 min
  5. Observe queues and external calls Mid · 12 min
  6. Budget time across dependent services Senior · 16 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