socketIO-clientBarebones socket.io client library | |
Download |
socketIO-client Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Price:
- FREE
- Publisher Name:
- Roy Hyunjin Han
- Publisher web site:
- https://github.com/invisibleroads/
socketIO-client Tags
socketIO-client Description
socketIO-client is a barebones socket.io client library for Python.Thanks to rod for his StackOverflow question and answer, on which this code is based.Thanks also to liris for his websocket-client and to guille for the socket.io specification.Installation# Prepare isolated environmentENV=$HOME/Projects/envvirtualenv $ENVmkdir $ENV/opt# Activate isolated environmentsource $ENV/bin/activate# Install packageeasy_install -U socketIO-clientUsageENV=$HOME/Projects/envsource $ENV/bin/activatepython from socketIO import SocketIO s = SocketIO('localhost', 8000) s.emit('news', {'hello': 'world'})Product's homepage
socketIO-client Related Software