Womack is a service that you can use to push realtime events between your regular, plain-old, non-websockety web application and clients. It is built on top of gevent-socketio and redis.

Why Womack? You want to write an application, like a game or shared calendar or group chat or some kind of game that involves chatting about calendars in a group. You want the convenience of writing most of your application in the regular, stateless, blocking way you are used to writing web applications, and access to all of the nice tools that you have over in that box. But you also want your calendar game UI to be snappy and realtime and not rely on polling or keeping track of game state in two places. So you put a service like Womack in the middle and use it to push real-time events to clients as your blocking application receives input and does its thing in the database or S3 or wherever.

Quickstart: Install and start redis Clone this repository. Make a virtualenv, then install dependencies with make server Install Womack: python setup.py develop Start womack server: womack In a browser, load http://localhost:8111/test.html In a python shell, enter: >>> import womack.publish >>> wm = womack.publish.Publisher() >>> wm.publish('hello', {'hello': 'world'}) You should see the message “hello world” appear immediately in the browser.