Starlette
Starlette is a lightweight Python web framework built on the ASGI (Asynchronous Server Gateway Interface) specification, designed for building high-performance asynchronous web applications and API services. It provides core features including routing, middleware, WebSocket support, background tasks, and request/response handling, with a clean and extensible codebase. Starlette is also widely used as the underlying foundation of higher-level frameworks such as FastAPI.
Core Facts
FastAPI is built on Starlette and Pydantic, natively supports asynchronous processing, and is based on ASGI (Asynchronous Server Gateway Interface).
FastAPI is based on the Starlette framework at its core.
Starlette is a lightweight Python asynchronous web framework/toolkit developed by Tom Christie, built on top of the ASGI standard.
Timeline (last 90 days)
FastAPI runs on top of Starlette (an ASGI framework) and Uvicorn (an ASGI server), and its high concurrency capability comes from the asynchronous I/O model.
FastAPI is based on Starlette for handling the web foundation (routing, middleware, async support) and on Pydantic for data validation and serialization.
WSGI (Web Server Gateway Interface, PEP 3333) is a synchronous standard, on which Django and Flask are built by default; ASGI is the asynchronous evolution, supporting async/await, WebSocket, and long-lived connections, and is used by FastAPI and Starlette.
Starlette is a lightweight Python asynchronous web framework/toolkit developed by Tom Christie, built on top of the ASGI standard.
HTTPX is developed by the Encode team, which also maintains Starlette and Uvicorn.
All Facts (9)
FastAPI is built on Starlette and Pydantic, natively supports asynchronous processing, and is based on ASGI (Asynchronous Server Gateway Interface).
80%VerifiedFastAPI is based on the Starlette framework at its core.
80%VerifiedStarlette is a lightweight Python asynchronous web framework/toolkit developed by Tom Christie, built on top of the ASGI standard.
65%UnverifiedStarlette was created by Tom Christie, who is also the author of Django REST Framework.
60%UnverifiedFastAPI runs on top of Starlette (an ASGI framework) and Uvicorn (an ASGI server), and its high concurrency capability comes from the asynchronous I/O model.
50%UnverifiedFastAPI is based on Starlette for handling the web foundation (routing, middleware, async support) and on Pydantic for data validation and serialization.
50%UnverifiedWSGI (Web Server Gateway Interface, PEP 3333) is a synchronous standard, on which Django and Flask are built by default; ASGI is the asynchronous evolution, supporting async/await, WebSocket, and long-lived connections, and is used by FastAPI and Starlette.
50%UnverifiedHTTPX is developed by the Encode team, which also maintains Starlette and Uvicorn.
50%UnverifiedFastAPI 在 Starlette 之上增加了基于 Pydantic 的类型注解驱动参数验证和自动文档生成能力
50%