Skip to main content

6 docs tagged with "fastapi"

View all tags

Building an Async API Service

Apply asyncio in production - async FastAPI routes, background tasks, async database access, connection pools, and handling concurrency in a real API service.

FastAPI in Depth

Dependency injection, lifespan events, background tasks, middleware, custom exception handlers, OpenAPI customisation, and production FastAPI patterns.

Hexagonal Architecture

Ports and Adapters - structuring Python applications so business logic is independent of frameworks, databases, and external services.

Project: Async Data Aggregation API

Build an async FastAPI service that aggregates data from multiple external APIs concurrently - with caching, rate limiting, circuit breaking, and background refresh.

Streaming LLM Responses

Streaming LLM output in Python - server-sent events, async generators, FastAPI streaming endpoints, and building real-time chat UIs.