
Python Engineering
From scripts to production-grade Python.
01Python Engineering (1): Environment Setup — pyenv, venv, and Dependency Hell
Master Python environment management with pyenv, virtual environments, and modern dependency tools. Escape dependency …
02Python Engineering (2): Project Structure — From Script to Package
Learn how to organize Python code into proper packages with imports, entry points, and CLI tools. Build a real …
03Python Engineering (3): Testing — pytest, Fixtures, and the Confidence Loop
Build confidence in your code with pytest fixtures, parametrize, mocking, and coverage. Learn debugging techniques that …
04Python Engineering (4): Type Hints, Linting, and Code Quality
Add type safety with mypy, enforce style with ruff and black, and automate checks with pre-commit hooks. Make code …
05Python Engineering (5): I/O, Serialization, and Data Formats
Handle files, paths, encodings, and data formats in Python. Compare JSON, YAML, TOML, CSV, pickle, and Parquet with …
06Python Engineering (6): Concurrency — Threads, Processes, and asyncio
Understand the GIL, master threading, multiprocessing, and asyncio. Learn which concurrency model to use for I/O-bound …
07Python Engineering (7): Packaging — From pip install to PyPI
Package your Python code for distribution via pip, publish to PyPI, create Docker images, and manage versioning. The …
08Python Engineering (8): Performance — Profiling, Caching, and Knowing When to Stop
Profile Python code to find real bottlenecks, apply caching and vectorization where they matter, and avoid the trap of …