Flask-SocketIO · PyPI
pypi.org › project › Flask-SocketIOAug 01, 2021 · pip install flask-socketio Example from flask import Flask , render_template from flask_socketio import SocketIO , emit app = Flask ( __name__ ) app . config [ 'SECRET_KEY' ] = 'secret!' socketio = SocketIO ( app ) @app . route ( '/' ) def index (): return render_template ( 'index.html' ) @socketio . event def my_event ( message ): emit ( 'my response' , { 'data' : 'got it!' }) if __name__ == '__main__' : socketio . run ( app )
socketIO-client · PyPI
https://pypi.org/project/socketIO-client10.12.2016 · socketIO-client 0.7.2 pip install socketIO-client Copy PIP instructions. Latest version. Released: Dec 11, 2016 A socket.io client library. Navigation. Project description Release history Download files Project links. Homepage Statistics. GitHub statistics: Stars: Forks: Open issues/PRs: View ...
socketIO-client · PyPI
pypi.org › project › socketIO-clientDec 10, 2016 · Installation. Install the package in an isolated environment. VIRTUAL_ENV=$HOME/.virtualenv # Prepare isolated environment virtualenv $VIRTUAL_ENV # Activate isolated environment source $VIRTUAL_ENV/bin/activate # Install package pip install -U socketIO-client.