FastAPI
Modern async Python ASGI web framework built on Starlette and Pydantic that derives request validation, dependency injection, and OpenAPI schemas from Python type hints.
ID: tech:fastapi | Kind: framework | Latest: v0.117.0 | License: MIT | Verified: 2026-12-01
When to use
- You are building typed JSON REST APIs, ML model serving gateways, or async Python microservices that benefit from automatic Pydantic validation and OpenAPI docs.
- You want composable request-scoped dependency injection (Depends) for auth, database sessions, and clean pytest overrides.
When to avoid
- You want a full batteries-included server-rendered web framework with built-in ORM, admin panel, and session auth out of the box (compare Django).
- You are deploying directly to V8 edge isolates or want a single-language TypeScript stack where Hono avoids cross-language operational splits.