Python
Writing Python you can trust in production. CivicGrid's API is built with FastAPI, and its data checks are Python scripts that run every week.
Learning track · 10 lessons
Python basics
Each lesson explains one idea in plain words, then adds a piece to one real tool, a website checker, that you build across the whole track. Along the way, you'll see how the same ideas run CivicGrid's API and data checks.
- 1What Python is forStart · 15 min
- 2Values and variablesStart · 25 min
- 3Lists, dictionaries and loopsStart · 30 min
- 4Functions and errorsStart · 25 min
- 5Files and dataStart · 25 min
- 6Talking to APIsStart · 30 min
- 7Scripts you can trustStart · 25 min
- 8Running it on a scheduleStart · 30 min
- 9Alerts and settingsStart · 25 min
- 10Build your own API with FastAPIStart · 30 min
Tools I use
Python documentation (opens in a new tab)
The official tutorial and the standard library reference.
FastAPI (opens in a new tab)
A Python framework for building APIs, with automatic docs and type checking.
From www.kwamib.dev/resources/python