Litestar
Typed Python APIs and dependency injection
What it does
Litestar provides a Python ASGI framework combining routing, dependency injection, DTOs, and automatic OpenAPI documentation for developers assembling typed interfaces and the supporting components used by their application endpoints.
When to use it
For APIs with complex data boundaries, consult DTO and validation guides to distinguish the models used for inputs and returned responses.