Skip to main content
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

Pricing

Model
free
Free Tier
MIT licensed, fully open source
Paid
N/A

Features

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

Pros

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

Cons

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

Best For

startup
api async performance openapi class-based