Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Websocket to message broker gateway

Project description

A websocket to rabbitmq gateway


Makes it easy to talk to websocket clients using rabbitmq queues.

Websocket to message broker gateway for servers:

websocket client (browser) <---> pushpull gateway <----> message broker (rabbitmq) <---> your backend application
                                                                                      \-> the authenticator module

Includes some standard authenticator modules


Requires python3.5+:

pip install pushpull


  1. install a rabbitmq server and a mongodb server
  2. run tox


Run the websocket server:


Run the CLI websocket client:

pushpull-client challenge_websocket http://localhost:8080/ user_token

Run the CLI rabbitmq client:

pushpull-client challenge_amqp amqp://localhost/ user_id

Run the CLI rabbitmq authenticator:

pushpull-client authenticate_amqp amqp://localhost/ pushpull.auth.simple_file:main,user_db.txt

The user_db.txt is a text file with one entry per line:


Build docker image

install wheel:

pip install wheel

Build wheels for 3rd party and the project itself:

pip wheel -r requirements.txt -w wheelhouse
pip wheel . --no-deps -w wheelhouse-app
docker build -t pushpull .

Project details

Download files

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

Files for pushpull, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size pushpull-0.0.5-py3-none-any.whl (18.5 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page