Skip to main content

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

Project description

This project was forked from `https://github.com/abourget/gevent-socketio`

Presentation

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.

Community, rise up!

ANNOUNCEMENT: This project is in need of a solid maintainer to navigate through the 27+ open Pull Requests, merge what needs to be merged, and continue on with newer developments. @abourget is not putting as much time as he’d like on this project these days. This project has nearly 1000 GitHub Stars.. it’s used by major corporations. It’s a great project for you to lead. Contact me on Twitter @bourgetalexndre to take more leadership.

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-py3

or from source:

git clone git@github.com:henokalem/gevent-socketio-py3.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

To execute all tests, run:

tox

To execute all tests for a specific Python version, run something like:

tox -e py27

To execute a specific test for a specific Python version, run something like:

tox -e py27 – test_packet.py::TestEncodeMessage::test_encode_event

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-py3-1.0.1.tar.gz (272.9 kB view details)

Uploaded Source

Built Distribution

gevent_socketio_py3-1.0.1-py3-none-any.whl (33.4 kB view details)

Uploaded Python 3

File details

Details for the file gevent-socketio-py3-1.0.1.tar.gz.

File metadata

  • Download URL: gevent-socketio-py3-1.0.1.tar.gz
  • Upload date:
  • Size: 272.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.5

File hashes

Hashes for gevent-socketio-py3-1.0.1.tar.gz
Algorithm Hash digest
SHA256 c0eacf70bf406d4717e6038caa704e8c42336a0926261e641b86338cffdf735d
MD5 ec69b2827df935fcbcef6d5ecba060df
BLAKE2b-256 69b6993e0019849e13c2f8e3c51ca1dd3910640b17c0b36355f4a2a5e34c8984

See more details on using hashes here.

File details

Details for the file gevent_socketio_py3-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: gevent_socketio_py3-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 33.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.5

File hashes

Hashes for gevent_socketio_py3-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f0653cc417ae0c13a79b285d4d2b0fa47380b14538615efacc2c5f9fa3618449
MD5 a2c6b9bb622cbc8c0cb507fc7cf9e09f
BLAKE2b-256 cb78f8b75610dd315c655cbed73fb18af32be23d98f9f931e8dabd3338903e3c

See more details on using hashes here.

Supported by

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