This repository provides a playground to evaluate different API-frameworks. Implementing the same functionality with different libs should show meaningful differences in concepts, implementation and performance.
...
WIP
-
Litestar
- msgspec DTO
- pydantic DTO
-
FastAPI
- pydantic
For a quick test the implemented data model is small. I suspect that the difference between the frameworks will increase with the response size.
-
Litestar
- msgspec DTO
- pydantic DTO
-
FastAPI
- pydantic
The JSON data was taken from here and shortened while the idea originated from following this podcast and reading the referenced article.