A lightweight ASGI Python 3.8+ toolkit, optimized for great performance, flexibility and productivity.
pip install slickpy
example.py:
from slickpy import App, Writer
app = App()
@app.route("/")
async def welcome(w: Writer) -> None:
await w.end(b"Hello, world!")
main = app.asgi()
Then run the example with uvicorn:
uvicorn example:main
See examples for more.