# Starlette

> Lightweight ASGI framework and toolkit for async Python web services

Source: https://talira.ai/catalog/starlette-thr3y8p9
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework, Library
- Categories: [frameworks / web / backend](https://talira.ai/categories/frameworks/web/backend), [languages / python](https://talira.ai/categories/languages/python)
- Licence: BSD-3-Clause[^2][^3]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source (BSD-3-Clause); maintainers take sponsorships.
- Free tier: yes[^1]
- Supports: [ASGI](https://talira.ai/standards/asgi.md)[^1]
- Backed by: [Encode](https://talira.ai/orgs/encode.md)

Starlette is a lightweight ASGI framework and toolkit for building async web services in [Python](https://talira.ai/catalog/python-tgjs08pq.md). It's a low-complexity HTTP framework with WebSocket support, in-process background tasks, startup and shutdown events, a test client, CORS, GZip, static files, streaming responses, and session and cookie support. It runs on asyncio or Trio, is fully type-annotated with few hard dependencies, and needs an ASGI server such as [Uvicorn](https://talira.ai/catalog/uvicorn-gjvahj1g.md) to run.

## Links

- Website: https://starlette.dev/
- GitHub: https://github.com/Kludex/starlette
- Docs: https://starlette.dev/

## Problems it solves

- build a small async web service in Python without a heavy framework
- serve WebSockets and HTTP from the same Python async app
- write an ASGI app I can run on Uvicorn

## Features

- lightweight HTTP web framework
- WebSocket support
- in-process background tasks
- startup and shutdown events
- test client
- CORS, GZip, static files and streaming responses
- session and cookie support
- asyncio and Trio backends

## Trust

Overall: 0.72 out of 1.
Signals: maintenance 1.00, adoption 0.82, momentum 0.64, community 1.00, backing 0.30, extensibility 0.00.

- last commit yesterday
- 93 commits in the last 90 days
- latest release 1.10.0 36 days ago
- 12.8k GitHub stars
- 368 contributors
- accepts sponsorship (Github)
- backed by Encode

## Related

- Works with [Uvicorn](https://talira.ai/catalog/uvicorn-gjvahj1g.md)

## Alternatives

- [aiohttp](https://talira.ai/catalog/aiohttp-bskxhtdn.md): Asynchronous HTTP client/server framework for asyncio and Python
- [Tornado](https://talira.ai/catalog/tornado-k3en8qdb.md): Python web framework and asynchronous networking library
- [Sanic](https://talira.ai/catalog/sanic-xed1w3bn.md): Fast asynchronous Python web framework with its own production server
- [Falcon](https://talira.ai/catalog/falcon-42aechte.md): The minimal, fast, and secure web framework for Python
- [FastAPI](https://talira.ai/catalog/fastapi-1tmn6e7v.md): FastAPI framework, high performance, easy to learn, fast to code, ready for production
- [Flask](https://talira.ai/catalog/flask-ceq73708.md): A lightweight WSGI web application framework for Python

## Sources

[^1]: https://github.com/Kludex/starlette/blob/main/README.md (checked 29 Nov 2026)
[^2]: https://github.com/Kludex/starlette/blob/main/LICENSE.md (checked 29 Nov 2026)
[^3]: https://github.com/Kludex/starlette/blob/main/pyproject.toml (checked 29 Nov 2026)
