Micro Free Course — 100% Free Learning

All lessons in this module are free to learn. Sign in with Google to save your progress.

4

Production Python

From python-for-software-engineers, ordered for DE.

Module Progress0% Complete
171 min total
10 Lessons
0 Completed

Module Content

Testing with pytest

The dominant Python testing framework. Fixtures, parametrization, mocking, coverage. FIND_VIDEO: search 'python pytest tutorial fixtures parametrize' — recommended channel: ArjanCodes / mCoding. Aim for 11 min or under.

23 minVideo
Start

Quiz: Fixtures, Mocking, Coverage, Test Organization

The pytest features that matter in production: fixtures, parametrize, mocking, pytest-cov, conftest patterns.

8 minTutorial
Start

Logging & Configuration

Structured logging, log levels, and the 12-factor config pattern. The foundation of observable Python apps. FIND_VIDEO: search 'python logging configuration 12 factor' — recommended channel: ArjanCodes / mCoding. Aim for 10 min or under.

14 minVideo
Start

Quiz: Structured Logging and 12-Factor Config

Why print() is wrong, how to use the logging module right, structured logging with structlog/loguru, and env-based config.

8 minTutorial
Start

Error Handling Patterns

Exception hierarchies, retries with backoff, Result types, and the patterns that production code uses. FIND_VIDEO: search 'python exception handling patterns best practices' — recommended channel: ArjanCodes / mCoding. Aim for 10 min or under.

11 minVideo
Start

Quiz: Exceptions, Retries, Result Types

Designing exception hierarchies, retry with tenacity, when to use Result types, and the EAFP vs LBYL Python idiom.

8 minTutorial
Start

Design Patterns in Python

Design patterns adapted to Python. Most GoF patterns are simpler in Python; some are unnecessary. FIND_VIDEO: search 'python design patterns pythonic SOLID' — recommended channel: ArjanCodes / mCoding. Aim for 10 min or under.

23 minVideo
Start

Quiz: Pythonic Patterns vs Gang-of-Four

Python's first-class functions and duck typing make many GoF patterns disappear. The ones that still apply, and the Python idioms.

8 minTutorial
Start

Build 5: Production Ingestion Microservice

A small FastAPI service with proper config, structured logging, tests, OpenAPI docs, and Dockerfile. End-to-end.

34 minAssignment
Start

Build 6 — Extensible Plugin Architecture (Capstone)

Design a plugin engine: Protocol contracts, entry-point discovery, fault-isolated hooks, two reference plugins.

34 minAssignment
Start
Production Python | Python for Data Engineers | Topfolio