Starlette is a lightweight open-source ASGI framework and toolkit for building asynchronous web services in Python. It was released in 2018 by Encode, the open-source organization led by Tom Christie. It provides routing, middleware, WebSocket support and background tasks, among other features.
ASGI is the standard asynchronous interface between Python web servers and applications. Starlette is used both as a web framework in its own right and as a foundation for other frameworks; the FastAPI web framework is built on top of it.