Skip to main content

Reference ASGI adapters and channel layers

Project description

https://api.travis-ci.org/andrewgodwin/asgiref.svg

Contains various reference ASGI implementations, including:

  • An in-memory channel layer, asgiref.inmemory

  • WSGI-to-ASGI and ASGI-to-WSGI adapters, in asgiref.wsgi

In-memory Channel Layer

Simply instantiate asgiref.inmemory.ChannelLayer, or use the pre-made asgiref.inmemory.channel_layer for easy use. Implements the group extension, and is designed to support running multiple ASGI programs in separate threads within one process (the channel layer is threadsafe).

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

asgiref-0.11.2.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

asgiref-0.11.2-py2.py3-none-any.whl (9.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file asgiref-0.11.2.tar.gz.

File metadata

  • Download URL: asgiref-0.11.2.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for asgiref-0.11.2.tar.gz
Algorithm Hash digest
SHA256 d053d0b5680ad681b0d9ac2ab0cd00b31e9ba77d87054fcdb6bbdc2211704550
MD5 3d2ca654cab9c4fca10d0b983f6e1788
BLAKE2b-256 f89855233ebeedb8cb7978101c1034b884c1f576f213e265d4e1f6b297c7bd6d

See more details on using hashes here.

Provenance

File details

Details for the file asgiref-0.11.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for asgiref-0.11.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e074ff7f55708faae9f01d521f5e9f93762be41ddbe0fda120af24592c2344b4
MD5 71f115d1e008e7cdbb882da7cfede785
BLAKE2b-256 000e3bcbf43baed415a625cf7c15985c5fc3f8f821592562fc4a3b295a513271

See more details on using hashes here.

Provenance

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