Python backend
Python fundamentals through services: types, collections, errors, async concurrency and testing.
18 lessons in all levels · 11 practice activities
Language foundations
Lessons
- Choose clear Python data shapes Foundation · 13 min
- Model values without losing meaning Foundation · 12 min
- Transform data without loading everything Mid · 12 min
- Use generators to keep pipelines bounded Mid · 12 min
- Keep Python type hints honest Mid · 12 min
- Design a stable Python library boundary Senior · 16 min
Practice
Data, errors and testing
Lessons
- Test failure paths as contracts Foundation · 14 min
- Validate payloads and protect SQL Foundation · 12 min
- Write tests for rejected and duplicate work Mid · 12 min
- Keep a database operation all-or-nothing Mid · 12 min
- Build tests that explain behavior Mid · 12 min
- Backfill data without overwhelming production Senior · 16 min
Practice
Services and concurrency
Lessons
- Bound concurrent service work Foundation · 14 min
- Retry transient failures with a budget Foundation · 12 min
- Make a payment handler safe to replay Mid · 12 min
- Let async service work stop cleanly Mid · 12 min
- Observe queues and external calls Mid · 12 min
- Budget time across dependent services Senior · 16 min