Skip to main content

Just the types for ASGI

Project description

jetblack-asgi-typing

Just the types for ASGI.

Taken from asgiref and hypercorn.

Installation

From pypi.org:

pip install jetblack-asgi-typing

Usage

from asgi_typing import (
    Scope,
    ASGIReceiveCallable,
    ASGISendCallable
)

async def app(
        scope: Scope,
        receive: ASGIReceiveCallable,
        send: ASGISendCallable
) -> None:
    # Implement your ASGI application here.
    pass

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jetblack-asgi-typing-0.4.0.tar.gz (12.7 kB view hashes)

Uploaded Source

Built Distribution

jetblack_asgi_typing-0.4.0-py3-none-any.whl (15.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page