Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 936 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 936 Bytes

RedisXchange

Just a few Python convenience/wrapper methods and classes for setting up FIFO message queues and/or pub-sub message brokers for clients to use for exchanging messages through Redis. The convenience/wrapper methods and classes are built on top of redis-py and msgpack.

The library implements:

  • Redis server reconnection logic.
  • Convenience methods:
    • For sending/receiving messages using a publish/subscribe messaging pattern.
    • For sending messages using a FIFO (First In First Out) message queue and Redis' Key-Value store for receiving messages.

Usage

Install the library through pip:

pip install git+https://github.com/nicklasxyz/redisxchange

For a couple of simple examples and use-cases see the example directory.