11 parts · 16 chapters
Python, with Django
Python is the most widely taught language in the world and the default for data and AI work; with Django it is also one of the most productive ways to build a secure web backend. On this machine, four CPU-bound tasks took 455 ms on four threads and 227 ms on four processes: the GIL in one sentence.
Eleven parts in the shared language-course shape: basics; the type system and type hints; memory and CPython internals; concurrency (threads, processes, asyncio, free-threading); idioms; tooling and testing; Django end to end (with DRF and FastAPI alongside); Django internals; performance and profiling; what Python is paired with in production; and the ledger API capstone.
the languageDynamic typing, data model, comprehensions, generators, decorators.
CPythonBytecode, the object model, reference counting, the GIL and free-threading.
concurrencyasyncio, threads for IO, processes for CPU, measured.
DjangoORM, admin, middleware, request cycle, DRF, Celery, async views.
FastAPIType-hint driven APIs on ASGI, and when to choose it.
productionGunicorn/Uvicorn, Nginx, Celery + Redis, PgBouncer, Sentry.
00
Basics
Names, objects and the data model · Generators, decorators and context managers
2 ch · ~12 min01The Type System and Type Hints
Gradual typing
1 ch · ~8 min02Memory and CPython Internals
Bytecode, refcounts and the GIL · Memory in practice
2 ch · ~12 min03Concurrency
Threads, processes and the GIL, measured · asyncio
2 ch · ~12 min04Idioms
Pythonic code
1 ch · ~8 min05Tooling and Testing
Tools and tests
1 ch · ~8 min06Django End to End
Models, migrations and the admin · DRF, atomic transfers, Celery and FastAPI
2 ch · ~12 min07Django Internals
QuerySets underneath · Signals, sessions and async
2 ch · ~12 min08Performance and Profiling
Where Python services spend time
1 ch · ~8 min09In Production: What Python Is Paired With
The stack around a Django service
1 ch · ~8 min10Capstone: The Ledger API in Python
The build
1 ch · ~8 minLanguage courses share one shapeSame eleven parts and capstone as Go, Rust, Rails and Java. ORM Internals covers the Django ORM against others; Concurrency (course 35) covers asyncio alongside other runtimes.