No description
  • JavaScript 54.1%
  • Python 44.3%
  • CSS 1.6%
Find a file
Chris Meyers bd81cb6cc6 Merge pull request #1 from ansible/tower_0.3.6-1
fix UnicodeError "The value must be a native string"
2017-10-11 12:29:37 -04:00
debian New upstream release, add missing debian source format file 2012-11-15 22:59:30 +01:00
docs Point to the base directory for the local socketio module. 2014-01-02 13:43:02 +01:00
examples Fixed typo when importing sockets file in views 2013-04-14 10:15:12 +02:00
socketio fix UnicodeError "The value must be a native string" 2017-10-11 12:23:43 -04:00
tests Merge https://github.com/abourget/gevent-socketio 2014-01-03 09:12:34 +01:00
.gitignore add pycharm IDE files into .gitignore 2013-03-27 15:16:09 +02:00
.travis.yml Hmm, tests on Travis are marked as passing but they're really not. 2012-12-05 11:19:42 -05:00
AUTHORS updated the authors file 2012-07-04 17:15:03 -05:00
bootstrap.py Fix issue with gevent 1.0 and with ack value with single param 2013-08-17 21:52:04 +02:00
buildout.cfg Fix issue with gevent 1.0 and with ack value with single param 2013-08-17 21:52:04 +02:00
CHANGELOG Updating CHANGELOG for 0.3.6 release 2014-02-02 21:10:58 -08:00
LICENSE Refactored prototype. Doesn't work like the prototype did :/ 2010-10-18 00:22:26 +02:00
MANIFEST.in Also distribute CHANGELOG, docs, and tests. 2014-01-02 13:44:55 +01:00
README.rst Hmm, tests on Travis are marked as passing but they're really not. 2012-12-05 11:19:42 -05:00
setup.py Updating CHANGELOG for 0.3.6 release 2014-02-02 21:10:58 -08:00

Presentation
============

.. image:: https://secure.travis-ci.org/abourget/gevent-socketio.png?branch=master

``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:

* http://readthedocs.org/docs/gevent-socketio/en/latest/

Discussion and questions happen on the mailing list:

* https://groups.google.com/forum/#!forum/gevent-socketio

or in the Github issue tracking:

* https://github.com/abourget/gevent-socketio/issues

You can also contact the maintainer:

* https://twitter.com/#!/bourgetalexndre
* https://plus.google.com/109333785244622657612


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