Module 1 · Start here: programming, Python and your workspace
What programming is, why Python, installing everything, the terminal, notebooks, the REPL, reading errors, and how to study this course.
Complete AI
No prerequisites. Learn Python from your first line of code, then Git, the web, HTTP and SQL, then build, secure, test, containerise and deploy production-grade APIs with FastAPI — with hand-drawn diagrams, runnable examples, practice questions and coding challenges.
What you’ll get out of this course
Trust & quality
Content is designed and maintained by the Deep AI Minds team—structured for working adults, with frequent updates as tooling and best practices evolve.
Content currency: ~100% of lessons on the current curriculum revision
Scroll through each module below—open lessons in place or jump into a topic. Everything runs in order, but you’re free to explore.
What programming is, why Python, installing everything, the terminal, notebooks, the REPL, reading errors, and how to study this course.
The core language from zero: names and values, comparisons, if/else, for and while loops, patterns, functions, modules, input and output, style, and two mini projects.
Integers, floats, the math module, rounding and money, precedence, complex numbers, fractions, number systems and bits.
Every built-in collection in depth, with slicing, unpacking, comprehensions, nesting, and how to choose the right one.
Lists and dicts as tables, rows and columns, grouping and aggregating, sorting and ranking, and a small data project.
Function design from parameters to decorators: args/kwargs, lambdas, closures, scope, decorators, recursion and memoisation.
Strings in depth, unicode, exceptions, files and paths, simple classes and context managers — the everyday tools of real programs.
The iteration protocol, generators and yield, generator expressions, itertools, custom iterables and lazy pipelines.
Classes and objects from scratch to design: attributes, methods, inheritance, dunder methods, dataclasses, properties, abstract classes, composition and patterns.
Annotations, generics, Optional/Union, TypedDict/Literal, static checking, and how frameworks like FastAPI read type hints at runtime.
The batteries included: datetime, json/csv, re, collections, functools, logging, os/sys/environment, hashing/UUID/encoding.
How CPython runs code, memory and references, copying pitfalls, measuring speed, Big-O and making programs faster.
Concurrency vs parallelism, the GIL, threads, processes, and a thorough tour of asyncio — the foundation for async FastAPI.
Why and how to test: TDD, pytest basics, fixtures, parametrisation, mocking, edge cases, coverage and continuous testing.
Virtual environments, pip/uv, project layout, pyproject.toml, building and publishing, CLI entry points, licences.
Version control from scratch: commits, branches, merging, remotes, pull requests, conflicts and collaboration habits.
Networks, DNS, HTTP in depth, URLs, cookies, JSON, REST design, and calling APIs from Python — everything you need before building one.
Relational databases, SQL queries, joins, aggregation, transactions, indexes and using SQLite from Python (runnable in the browser).
What an API is, installing FastAPI, your first endpoints, how FastAPI works under the hood, automatic docs, validation, dependencies and error handling at a glance.
Path, query, body, header, cookie and form parameters, file uploads, validation with Annotated, and a complete in-memory CRUD API.
Data validation and settings: models, fields, validators, nested models, serialisation, settings management, custom types and v2 internals.
Response models, status codes, custom responses, exception handlers, streaming, background tasks and shaping the OpenAPI schema.
Dependency injection from first principles, Depends in depth, routers, middleware, lifespan, configuration and real project layouts.
ORM concepts, SQLAlchemy 2.0 models and sessions, CRUD, relationships, migrations with Alembic, async databases, transactions, pooling and repository patterns.
Authentication vs authorisation, password hashing, JWT, OAuth2 in FastAPI, roles and scopes, API keys, OWASP risks and rate limiting.
async def vs def in FastAPI, async HTTP clients, WebSockets, Server-Sent Events, task queues, caching with Redis and scheduling.
TestClient, fixtures for databases, dependency overrides, async tests, auth tests, coverage, linting and quality gates.
Containers, Dockerfiles for FastAPI, docker-compose with Postgres/Redis, servers and workers, HTTPS, secrets, GitHub Actions and cloud options.
Structured logging, metrics, monitoring, error tracking, versioning, performance and load testing, scaling, caching and reliability patterns.
From notebook to service: architecture, loading models once, prediction endpoints, batching, image inputs, LLM streaming and monitoring.
Five complete projects built step by step, architecture patterns, interview preparation and a roadmap for what to learn next.
Feedback about Python and FastAPI. New submissions are reviewed before they appear here.
No published stories yet for this course — be the first to share yours below.
Sign in to share a testimonial. We keep one submission per account per course.
Sign in to share your storyDeep AI Minds
Find any course topic or lesson