Wred is a fast, orjson-powered ASGI router for JSON APIs. Read the docs and view the source here.

$ pip install wred
from wred import App

app = App()

@app.route("/")
async def index(request):
    return {"hello": "world"}