gituser/production/: asgiref-old-1.1.2 metadata and description

Homepage Simple index

Reference ASGI adapters and channel layers

author Django Software Foundation
author_email foundation@djangoproject.com
license BSD
File Tox results History
asgiref_old-1.1.2-py2.py3-none-any.whl
Size
11 KB
Type
Python Wheel
Python
2.7
asgiref_old-1.1.2.tar.gz
Size
10 KB
Type
Source
asgiref_old
=======

.. image:: https://api.travis-ci.org/django/asgiref_old.svg
:target: https://travis-ci.org/django/asgiref_old

.. image:: https://img.shields.io/pypi/v/asgiref_old.svg
:target: https://pypi.python.org/pypi/asgiref_old

Contains various reference ASGI implementations, including:

* A base channel layer, ``asgiref_old.base_layer``
* An in-memory channel layer, ``asgiref_old.inmemory``
* WSGI-to-ASGI and ASGI-to-WSGI adapters, in ``asgiref_old.wsgi``


Base Channel Layer
------------------

Provides an optional template to start ASGI channel layers from with the two
exceptions you need provided and all API functions stubbed out.

Also comes with logic for doing per-channel capacities using channel names and
globbing; use ``self.get_capacity`` and pass the arguments through to the base
``__init__`` if you want to use it.


In-memory Channel Layer
-----------------------

Simply instantiate ``asgiref_old.inmemory.ChannelLayer``, or use the pre-made
``asgiref_old.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).


WSGI-ASGI Adapters
------------------

These are not yet complete and should not be used.

Dependencies
------------

All Channels projects currently support Python 2.7, 3.4 and 3.5.

Contributing
------------

Please refer to the
`main Channels contributing docs <https://github.com/django/channels/blob/master/CONTRIBUTING.rst>`_.
That also contains advice on how to set up the development environment and run the tests.

Maintenance and Security
------------------------

To report security issues, please contact security@djangoproject.com. For GPG
signatures and more security process information, see
https://docs.djangoproject.com/en/dev/internals/security/.

To report bugs or request new features, please open a new GitHub issue.

This repository is part of the Channels project. For the shepherd and maintenance team, please see the
`main Channels readme <https://github.com/django/channels/blob/master/README.rst>`_.

Render warnings:
<string>:2: (WARNING/2) Title underline too short.

asgiref_old
=======