What does HackerNews think of starlette?

The little ASGI framework that shines. 🌟

Language: Python

#12 in GraphQL
#16 in HTTP
#102 in Python
For anyone looking for an alternative python async web framework, I highly recommend Starlette (https://github.com/encode/starlette).

It was created by the same guy who wrote the excellent & highly popular Django-Rest-Framework. Very lightweight, clean, well-documented, and a breeze to get running with. It also supports async tasks natively.

I spent years working with Django and now I'm currently using it to power the api for https://sqwok.im.

The singlefile-ness of Bottle is no longer unique. For example, the modern day Fastapi built on async ASGI (and ranks top in framework benchmarks) is also single file.

https://github.com/tiangolo/fastapi

or Fastapi for that matter - https://github.com/encode/starlette

However, it is a bit tricky to run Bottle with production grade servers like gunicorn/uwsgi.

See also the base starlette, which is what FastAPI is built upon and is ASGI from the ground up. https://github.com/encode/starlette
You should also check out starlette and other supporting projects that Tom Christie (of DRF fame) is working on right now. Both FastAPI and Responder are thin wrappers around starlette.

Tom Christie has been quietly building what's starting to look like an async first decoupled version of django:

- https://github.com/encode/starlette

- https://github.com/encode/orm

- https://github.com/encode/typesystem

- https://github.com/encode/databases

- https://github.com/encode/apistar

- https://github.com/encode/uvicorn