search
Get Started
search
Starlette - Framework
zoom_in Click to enlarge

Starlette

language

description Starlette Overview

Starlette is a Python framework built around the ASGI standard. It facilitates the creation of asynchronous web applications and APIs, offering efficient handling of concurrent requests. Its design emphasizes flexibility and compatibility with existing Python libraries. Starlette is suitable for developers building modern backend systems requiring high performance and scalability, particularly those utilizing asynchronous programming techniques in Python.

help Starlette FAQ

What is Starlette used for in Python web development?

Starlette is a lightweight ASGI framework and toolkit for building async Python web apps and APIs. It is also one of the core foundations underneath FastAPI.

Does Starlette include data validation like FastAPI?

Not by itself. Starlette gives you routing, requests, responses, middleware, WebSockets, and background tasks, while FastAPI adds Pydantic-based validation and OpenAPI generation on top.

Which server do people usually run Starlette with?

Starlette apps are commonly run with ASGI servers such as Uvicorn or Hypercorn. A typical app exposes an ASGI callable that the server runs.

Is Starlette a good fit for WebSockets?

Yes. Starlette has built-in WebSocket support, which is useful for chat, dashboards, notifications, and other long-lived browser connections.

Reviews & Comments

Write a Review

rate_review

Be the first to review

Share your thoughts with the community and help others make better decisions.

Save to your list

Save your favorites and follow how their scores change over time.

Save favorites
Track changes
Compare scores

Already have an account? Sign in

Compare Items

See how they stack up against each other

Comparing
VS
Select 1 more item to compare