Skip to main content

SocketIO server based on the Gevent pywsgi server, a Python network library

Project description


gevent-socketio is a Python implementation of the Socket.IO protocol, developed originally for Node.js by LearnBoost and then ported to other languages. Socket.IO enables real-time web communications between a browser and a server, using a WebSocket-like API. One aim of this project is to provide a single gevent-based API that works across the different WSGI-based web frameworks out there (Pyramid, Pylons, Flask, web2py, Django, etc…). Only ~3 lines of code are required to tie-in gevent-socketio in your framework. Note: you need to use the gevent python WSGI server to use gevent-socketio.

Technical overview

Most of the gevent-socketio implementation is pure Python. There is an obvious dependency on gevent, and another on gevent-websocket. There are integration examples for Pyramid, Flask, Django and BYOF (bring your own framework!).

Documentation and References

You can read the renderered Sphinx docs at:

Discussion and questions happen on the mailing list:

or in the Github issue tracking:

You can also contact the maintainer:


You can install with standard Python methods:

pip install gevent-socketio

or from source:

git clone git://
cd gevent-socketio
python install

For development, run instead of install:

python develop

If you want to do all of that in a virtualenv, run:

virtualenv env
. env/bin/activate
python develop   # or install

Project details

Download files

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

Source Distribution

gevent-socketio-0.3.6.tar.gz (264.2 kB view hashes)

Uploaded Source

Built Distributions

gevent_socketio-0.3.6-py27-none-any.whl (32.2 kB view hashes)

Uploaded Python 2.7

gevent_socketio-0.3.6-py26-none-any.whl (31.4 kB view hashes)

Uploaded Python 2.6

gevent_socketio-0.3.6-py2.7.egg (68.5 kB view hashes)

Uploaded Source

gevent_socketio-0.3.6-py2.6.egg (66.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page