Skip to main content

📋 Cheatsheets

Copy-ready Python patterns by topic

One page per topic, all curated by hand from the matching CodeMentor track. The 80% you actually reach for, not every API in the docs.

🐍

Python basics cheatsheet — print, variables, lists, loops, functions

28 snippets · 6 sections

The Python patterns you'll reach for every day in the first 90 days — copy, adapt, ship. Pulled from the CodeMentor Foundations track (170 lessons).

FastAPI cheatsheet — routes, Pydantic, auth, async, deploy

15 snippets · 6 sections

FastAPI patterns from the production track, condensed into one page. Routes, Pydantic, dependencies, async, errors, auth, testing — copy-ready.

📊

pandas cheatsheet — load, clean, group, join, plot

23 snippets · 7 sections

Real pandas patterns from the Data Science track. Loading, tidying, grouping, joining, time-series, plotting. The 80% you actually use.

🤖

AI Engineering cheatsheet — Claude API, tools, RAG, evals

13 snippets · 5 sections

Production AI patterns from the AI Engineering track. Claude API calls, tool use, RAG, eval suites, prompt caching — copy-ready snippets.

🏗

System design cheatsheet — patterns junior+ interviews ask for

13 snippets · 5 sections

The system-design patterns that actually come up in junior-to-mid Python interviews. Load balancing, caching, queues, sharding, monitoring — concrete trade-offs.

🚀

DevOps cheatsheet — Docker, CI/CD, K8s, observability

13 snippets · 4 sections

Real DevOps patterns from the DevOps track. Multi-stage Docker, GitHub Actions, K8s deployments, Prometheus, secrets, rollback recipes.

🎯

Python interview cheatsheet — the 8 patterns that actually show up

16 snippets · 3 sections

What junior + mid Python interviews actually ask. 8 algorithmic patterns, behavioural STAR template, and 5 system-design lite scenarios.

🧠

Senior Python cheatsheet — async internals, GIL, perf, descriptors

17 snippets · 5 sections

Senior-level Python patterns — asyncio internals, GIL trade-offs, descriptors, metaclasses, perf profiling. The depth interviews + promo packets care about.

More on the way — testing, async, DevOps, AI engineering, system design.