~/talk

Deploy FastAPI to the cloud

Talkat PyCon Italia 2025 · 2025-05-28..05-31· [devops-and-delivery]
slides:none on file

Builds a small FastAPI app locally, runs it with Uvicorn and a virtualenv, then uses the FastAPI Cloud CLI to send code and dependency descriptions and deploys successfully to HTTPS. Queries GitHub with a GraphQL query via httpx in a get_discussions_count function, reads a GitHub token from env, and exposes an endpoint that returns discussion answer counts. Creates a shields.io dynamic JSON badge for docs. Claims about 3 million downloads daily and automatic scale-to-zero autoscaling.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 4:35Building a FastAPI demo app
  3. 10:17Deploying to FastAPI Cloud
  4. 12:44Creating GitHub integration
  5. 21:41Generating and deploying badge
  6. 23:06Deployment considerations
  7. 24:58Q&A session
~/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.