Fastapi

Building HTTP/JSON APIs in Python with FastAPI — path/query/body params, Pydantic v2 models, async endpoints, dependency injection, the lifespan startup/shutdown pattern, error handling, and testing with TestClient/httpx. Use when creating a REST API or web backend in Python, adding endpoints, wiring request validation, or serving an ML model behind HTTP. Deploy with uvicorn/gunicorn (often via docker).

stanfish06 Updated

File contents

stanfish06/skillquarium/tree/main/skills/fastapi commit ef01c98323

Frequently asked questions

npx skillmds@latest add stanfish06/fastapi