Contents

Teacher Schedule

Each week has 3 sessions. Follow this order at a pace that suits the student. Click a week in the menu to open its full notes.

Before each week

  • Read the whole week file once and install whatever it needs.
  • Before each session, type all the lesson code yourself and do the exercises before looking at the answers.
  • After each week, fill in the week's checklist and the Progress Log.

Month 1: Python Basics

Week Session 1 Session 2 Session 3
1 Setup, REPL, print, comments Variables, data types, input Operators
2 Strings if / elif / else Loops + number guessing game
3 Lists Loops over lists + tuples Dicts, sets, nested structures
4 Functions Default args, *args/**kwargs, scope, modules Project: Student Register + review

Month 2: Advanced Python

Week Session 1 Session 2 Session 3
5 Files (txt, pathlib) CSV, JSON + exceptions raise, custom exceptions, venv + pip
6 Classes & objects Class vs instance attributes, @property __str__/__repr__ + mini project
7 Inheritance Polymorphism, abc, dunder methods Dataclasses + type hints
8 Comprehensions, lambda Generators, decorators, Git Project: Library System

There is a short break after Week 8. Use it to prepare for FastAPI, because the Month 3 topics are new to you too.

Month 3: FastAPI and Data

Week Session 1 Session 2 Session 3
9 How the web works (HTTP) requests and external APIs First FastAPI app, path & query params, /docs
10 Pydantic + CRUD SQLite + SQLModel Depends + routers
11 Password hashing + JWT Protected routes, CORS, pytest Project: Todo API
12 What AI is, Jupyter, NumPy pandas + data cleaning matplotlib + a first small ML model

Month 4: AI and Django

Week Session 1 Session 2 Session 3
13 What ML is, regression Classification + metrics Saving a model + FastAPI endpoint
14 What an LLM is, first API call Swahili chatbot Tool use, JSON + AI endpoint
15 Django: projects, apps, URLs, views Templates + static files Models, migrations, admin
16 Forms + CRUD Class-based views + login Final Project + course wrap-up

Remember

  • If the student misses a session, make it up before moving on.
  • If the student falls behind, pause new topics and review. The schedule is a guide, not a rule.