Our great sponsors
-
tremolo
Tremolo is a stream-oriented, asynchronous, programmable HTTP server written in pure Python. It can also serve as an ASGI server.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
https://github.com/nggit/tremolo
Also may be of serious consideration to people looking at microdot, because:
* Pure asyncio only, zero dependencies.
* Ships its own ASGI server, like Sanic. (No juggling unicorn and gunicorn dependencies).
* Tiny library, feels like Starlette from the glory days.
* streaming responses by default (return stuff, then do processing, return more stuff).
* handles streaming multipart form uploads / streaming downloads, without external dependencies.
* tons of safeguards built in (request/response size limits, bandwidth throttling!) No massive DoS exploit potential found in Starlette/Uvicorn/FastAPI lol.
* the intuitive Sanic-style `@on_request` + `@on_response` rather than the complex middleware system in Starlette nowadays
Only 2,500 lines, with IMHO, far more important features than Starlette/FastAPI already baked in.