~/talk

FastAPI Fundamentals

Talkat XtremePython 2024 Online Conference · on Tuesday, 2024-11-19· [web-platform, python]
links:none on file
slides:none on file

FastAPI is a lightweight framework for serving JSON APIs that is fast to set up and fast at runtime, installed via pip as fastapi[standard] and run in dev mode for auto-reload and verbose logs. Examples include a JSON hello endpoint, an async calculator using a path operator plus typed query params that auto-convert, and a POST that accepts a Pydantic model with Pydantic validation (length and range checks) returning structured JSON and helpful error messages. Built-in automatic /docs gives interactive, working documentation.

AI-written summary · about

  1. 0:00Introduction to FastAPI
  2. 3:53Why FastAPI
  3. 5:19Hello World in FastAPI
  4. 9:25Path and Query Parameters
  5. 15:20POST Requests with Pydantic
  6. 18:13Advanced Validation
  7. 20:00Automated API Docs
  8. 21:25Deployment and Resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.