Ir para o conteúdo principal
Litestar logo

Litestar

The modern async Python framework

★ 4.4

Production-ready, highly performant Python API framework. Formerly Starlite, with class-based controllers and excellent OpenAPI support.

5K
GitHub Stars
none
TypeScript
medium
Learning Curve
4.4
DX Score

Preços

Model
free
Plano Gratuito
MIT licensed, fully open source
Paid
N/A

Recursos

  • ✓ Class-based controllers
  • ✓ Dependency injection
  • ✓ OpenAPI 3.1 support
  • ✓ Msgspec integration
  • ✓ SQLAlchemy integration
  • ✓ WebSocket support
  • ✓ Background tasks
  • ✓ Middleware system
  • ✓ Guards and permissions

Prós

  • + Faster than FastAPI
  • + Better structured code
  • + Excellent DI system
  • + Active development
  • + Good documentation

Contras

  • - Smaller community
  • - Newer framework
  • - Less resources online
  • - Breaking changes possible

Melhor Para

startup
api async performance openapi class-based