asgikit

asgikit is a toolkit for building asgi applications and frameworks.

Quickstart

Install asgikit and uvicorn:

$ pip install asgikit uvicorn[standard]

Create the file main.py:

from asgikit import Request


async def app(scope, receive, send):
    request = Request(scope, receive, send)
    name = request.query.get_first("name", "World")
    await request.respond_text(f"Hello, {name}!")

Run the application with uvicorn:

$ uvicorn main:app

Table of contents