4 ms·
https://github.com/nggit/tremolo https://github.com/nggit/tremolo Also may be of serious consideration to people looking at microdot, because: * Pure asyncio
by geenat 3y ago
https://github.com/nggit/tremolo 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 uvicorn 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.
- driggs 3y agoOf serious consideration, eh? Flask: 64,900 GitHub stars Starlette: 8,800 GitHub stars MicroDot: 847 GitHub stars Tremolo: 6 GitHub stars https://github.com/pallets/flask https://github.com/pallets/flask https://github.com/encode/starlette https://github.com/encode/starlette https://github.com/miguelgrinberg/microdot https://github.com/miguelgrinberg/microdot https://github.com/nggit/tremolo https://github.com/nggit/tremolo
- baq 3y agoevery open source project starts with the first star. (sorry for murdering the saying.) may I remind you of https://groups.google.com/g/comp.os.minix/c/dlNtH7RRrGA/m/SwRavCzVE7gJ https://groups.google.com/g/comp.os.minix/c/dlNtH7RRrGA/m/Sw... > I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones. ;)
- gjvc 3y agoAbsolutely. And reliability and feature-set is not measured by project activity about which people on here seem obsessed.
- geenat 3y agoAre we too afraid to consider features and source code now? I remember when Starlette and FastAPI were both just starting in the double digits. IMO this is 100% a sleeper project based on the qualities above.
- woleium 3y agoBetter to compare star velocity than total stars
- w0m 3y agozero yesterday, one today - infinite velocity!
- marban 3y agoAnother one https://github.com/litestar-org/litestar https://github.com/litestar-org/litestar
- tecleandor 3y agoThe interesting (for me) part about Microdot is it's tested with Micropython. AFAIK tremolo and litestar aren't.
- deleted 3y ago[deleted]