framework

Starlette

Starlette is a lightweight, high-performance ASGI framework for building asynchronous web services and applications in Python. It provides a minimalistic toolkit for handling HTTP requests, WebSocket connections, and background tasks, designed to work seamlessly with async/await syntax. It serves as a foundation for more feature-rich frameworks like FastAPI.

Also known as: Starlette Framework, ASGI Starlette, Starlette Python, Starlette Web Framework, Starlette ASGI
🧊Why learn Starlette?

Developers should learn Starlette when building high-performance, asynchronous web APIs or microservices that require low latency and high concurrency, such as real-time applications, data streaming services, or IoT backends. It's ideal for projects needing fine-grained control over request handling without the overhead of a full-stack framework, and it integrates well with ASGI servers like Uvicorn or Hypercorn.

Compare Starlette

Learning Resources

Related Tools

Alternatives to Starlette