Micro Free Course — 100% Free Learning

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

2

Modern Python Foundations

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

Module Progress0% Complete
min total
10 Lessons
0 Completed

Module Content

Type Hints & Static Checking

The single biggest production-quality lever for Python in 2026. Add types incrementally; let Pyright catch bugs before they ship. FIND_VIDEO: search 'python type hints mypy pyright tutorial' — recommended channel: ArjanCodes / mCoding. Aim for 11 min or under.

10 minVideo
Start

Quiz: Pyright/mypy Patterns and Gradual Typing

The type hint syntax that matters in practice, how to add types to existing code, and what gradual typing gives you.

11 minTutorial
Start

Data Classes & Pydantic

Three ways to model data. dataclass for plain objects, Pydantic for validated boundaries, NamedTuple for immutable tuples-with-names. FIND_VIDEO: search 'python dataclass vs pydantic vs namedtuple' — recommended channel: ArjanCodes / mCoding. Aim for 10 min or under.

17 minVideo
Start

Quiz: Choosing dataclass vs Pydantic vs NamedTuple

The trade-offs of each: mutability, validation, performance, API stability.

10 minTutorial
Start

Project Structure & Packaging

Modern Python projects: src layout, pyproject.toml, uv. The 2026 way to organize code that ships. FIND_VIDEO: search 'python project structure pyproject toml uv' — recommended channel: ArjanCodes / mCoding. Aim for 10 min or under.

20 minVideo
Start

Quiz: pyproject.toml, src Layout, and Modern Packaging

The src layout, pyproject.toml as the single source of config, and the 2026 tooling landscape (uv, hatch, poetry).

11 minTutorial
Start

Virtual Envs & Dependency Management

Isolate per-project dependencies. The 2026 tooling: uv (recommended), poetry, pip-tools, venv. How they differ. FIND_VIDEO: search 'python virtual environment uv poetry pip-tools' — recommended channel: ArjanCodes / Real Python. Aim for 9 min or under.

9 minVideo
Start

Quiz: uv, Poetry, pip-tools Compared

The pros and cons of each, when to choose what, and the migration paths between them.

9 minTutorial
Start

Build 1 — CLI Tool (Typer + tests + package + publish)

A complete Python CLI tool: pyproject.toml, Typer commands, pytest tests, packaging, publish to PyPI Test.

90 minAssignment
Start

OOP for Pipeline Builders: Classes Where They Earn Their Keep

When a class helps a data pipeline (stateful sources, clients, testability) and when a plain function wins. Ends with a retrying API source you will recognise from Week 4 ingestion.

25 minArticle
Start
Modern Python Foundations | Python for Data Engineers | Topfolio