SocketIO server based on the Gevent pywsgi server, a Python network library
Project description
Presentation
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:
Installation
You can install with standard Python methods:
pip install gevent-socketio
or from source:
git clone git://github.com/abourget/gevent-socketio.git cd gevent-socketio python setup.py install
For development, run instead of install:
python setup.py develop
If you want to do all of that in a virtualenv, run:
virtualenv env . env/bin/activate python setup.py develop # or install
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file gevent-socketio-0.3.5-rc2.tar.gz
.
File metadata
- Download URL: gevent-socketio-0.3.5-rc2.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab38b6b97b369626cfa87eb4d2e1cfddf67c45e138e9bc61321e30f32e85facd |
|
MD5 | ac9ae2af7806cee46353663e4f0038a9 |
|
BLAKE2b-256 | 1754e0b5526f599eb80702f303d242f586bea61eed5ee5b81d58092cb5e26209 |