semvec/pypi-packages huggingface dataset:
aio-pubsub 0.3.0
A generic interface wrapping multiple backends to provide a consistent pubsub API.
Keywords: pubsub pub/sub mongodb

AioPubSub
=========

.. image:: https://travis-ci.com/theruziev/aio_pubsub.svg?branch=master
   :target: https://travis-ci.com/theruziev/aio_pubsub

.. image:: https://codecov.io/gh/theruziev/aio_pubsub/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/theruziev/aio_pubsub/branch/master


A generic interface wrapping multiple backends to provide a consistent pubsub API.

Installation
------------

.. code-block:: bash

    pip install aio-pubsub
    # for redis backend
    pip install aio-pubsub[aioredis]
    # for postgresql backend
    pip install aio-pubsub[aiopg]

Usage
------
To use it, you need to implement your pubsub implementation from interfaces or use backends
from ``aio_pubsub.backends`` package

.. code-block:: python

    from aio_pubsub.backends.memory import MemoryPubSub
    pubsub = MemoryPubSub()
    # Create subscriber
    subscriber = await pubsub.subscribe("a_chan")

    # Push message
    await pubsub.publish("a_chan", "hello world!")
    await pubsub.publish("a_chan", "hello universe!")

    # And listening channel
    try:
        async for message in subscriber:
            print(message, flush=True)
    except KeyboardInterrupt:
        print("Finish listening")




Supported backends
---------------------

``Disclaimer``: I would not advise you to use this backend, because it is shown only for testing purposes.
Better develop your own implementation.

* memory
* redis
* postgresql
pyHTTPRequestRouter 0.1.4
A ReST API implementation (request router) using the pyHTTPInterface.
Requires Python: >=3.5
Keywords: Python3 HTTP Request-Router JSON ReST

![PyPI - License](https://img.shields.io/pypi/l/pyHTTPRequestRouter)
![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/Paebbels/pyHTTPRequestRouter) 
![GitHub release (latest by date)](https://img.shields.io/github/v/release/Paebbels/pyHTTPRequestRouter)
[![Documentation Status](https://readthedocs.org/projects/pyhttprequestrouter/badge/?version=latest)](https://pyhttprequestrouter.readthedocs.io/en/latest/?badge=latest)  
[![PyPI](https://img.shields.io/pypi/v/pyHTTPRequestRouter)](https://pypi.org/project/pyHTTPRequestRouter/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyHTTPRequestRouter)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/pyHTTPRequestRouter)
![PyPI - Status](https://img.shields.io/pypi/status/pyHTTPRequestRouter)

# pyHTTPRequestRouter

A ReST API implementation (request router) using the pyHTTPInterface.


## Contributors:

* [Patrick Lehmann](https://github.com/Paebbels) (Maintainer)


## License

This library is licensed under [Apache License 2.0](LICENSE.md)

-------------------------

SPDX-License-Identifier: Apache-2.0
pyHTTPInterface 0.1.4
An interface for HTTP Requests and Responses.
Requires Python: >=3.5
Keywords: Python3 HTTP Interface

![PyPI - License](https://img.shields.io/pypi/l/pyHTTPInterface)
![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/Paebbels/pyHTTPInterface) 
![GitHub release (latest by date)](https://img.shields.io/github/v/release/Paebbels/pyHTTPInterface)
[![Documentation Status](https://readthedocs.org/projects/pyhttpinterface/badge/?version=latest)](https://pyhttpinterface.readthedocs.io/en/latest/?badge=latest)  
[![PyPI](https://img.shields.io/pypi/v/pyHTTPInterface)](https://pypi.org/project/pyHTTPInterface/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyHTTPInterface)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/pyHTTPInterface)
![PyPI - Status](https://img.shields.io/pypi/status/pyHTTPInterface)

# pyHTTPInterface

An interface for HTTP Requests and Responses.


## Contributors:

* [Patrick Lehmann](https://github.com/Paebbels) (Maintainer)


## License

This library is licensed under [Apache License 2.0](LICENSE.md)

-------------------------

SPDX-License-Identifier: Apache-2.0