Install python-socketio by entering the following commands in the terminal:
sudo apt update sudo apt install python-socketio
Description:
Socket.IO server based on the gevent pywsgi server
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.
Homepage: https://github.com/abourget/gevent-socketio
Version: 0.3.6-4
Section: universe/python