Stack Explorer

Starlette

web-framework

Lightweight high-performance ASGI framework

12M/week → Stable

Features

asgiasynclightweightfoundationmodern

Pros and Cons

Ventajas

  • + Extremely lightweight and fast
  • + Foundation of FastAPI
  • + WebSockets, GraphQL, templates
  • + Standard ASGI middleware
  • + Testclient included
  • + Excellent documentation

Desventajas

  • - Fewer features than FastAPI
  • - Requires more manual configuration
  • - No automatic validation
  • - No automatic OpenAPI documentation
  • - Community focused on FastAPI

Use Cases

  • Minimalist microservices
  • Base for custom frameworks
  • Very high-performance APIs
  • Applications needing total control
  • WebSocket servers
  • Proxies and gateways

Tecnologías Relacionadas

Compatible with

Alternatives