Removed generated files
This commit is contained in:
parent
1f8fc10661
commit
22f1ddea6f
6 changed files with 0 additions and 70 deletions
|
|
@ -1,55 +0,0 @@
|
||||||
Metadata-Version: 1.0
|
|
||||||
Name: socketIO-client
|
|
||||||
Version: 0.1
|
|
||||||
Summary: Barebones socket.io client library
|
|
||||||
Home-page: https://github.com/invisibleroads/socketIO-client
|
|
||||||
Author: Roy Hyunjin Han
|
|
||||||
Author-email: starsareblueandfaraway@gmail.com
|
|
||||||
License: MIT
|
|
||||||
Description: socketIO.client
|
|
||||||
===============
|
|
||||||
Here is a barebones `socket.io <http://socket.io>`_ client library for Python.
|
|
||||||
|
|
||||||
Thanks to `rod <http://stackoverflow.com/users/370115/rod>`_ for his `StackOverflow question and answer <http://stackoverflow.com/questions/6692908/formatting-messages-to-send-to-socket-io-node-js-server-from-python-client/>`_, on which this code is based.
|
|
||||||
|
|
||||||
Thanks also to `liris <https://github.com/liris>`_ for his `websocket-client <https://github.com/liris/websocket-client>`_ and to `guille <https://github.com/guille>`_ for the `socket.io specification <https://github.com/LearnBoost/socket.io-spec>`_.
|
|
||||||
|
|
||||||
|
|
||||||
Installation
|
|
||||||
------------
|
|
||||||
::
|
|
||||||
|
|
||||||
# Prepare isolated environment
|
|
||||||
ENV=$HOME/Projects/env
|
|
||||||
virtualenv $ENV
|
|
||||||
mkdir $ENV/opt
|
|
||||||
|
|
||||||
# Activate isolated environment
|
|
||||||
source $ENV/bin/activate
|
|
||||||
|
|
||||||
# Install package
|
|
||||||
easy_install -U socketIO-client
|
|
||||||
|
|
||||||
|
|
||||||
Usage
|
|
||||||
-----
|
|
||||||
::
|
|
||||||
|
|
||||||
ENV=$HOME/Projects/env
|
|
||||||
source $ENV/bin/activate
|
|
||||||
python
|
|
||||||
|
|
||||||
from socketIO import SocketIO
|
|
||||||
s = SocketIO('localhost', 8000)
|
|
||||||
s.emit('news', {'hello': 'world'})
|
|
||||||
|
|
||||||
|
|
||||||
0.1
|
|
||||||
---
|
|
||||||
- Wrapped code from `StackOverflow <http://stackoverflow.com/questions/6692908/formatting-messages-to-send-to-socket-io-node-js-server-from-python-client/>`_
|
|
||||||
|
|
||||||
Keywords: socket.io node.js
|
|
||||||
Platform: UNKNOWN
|
|
||||||
Classifier: Intended Audience :: Developers
|
|
||||||
Classifier: Programming Language :: Python
|
|
||||||
Classifier: License :: OSI Approved :: MIT License
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
CHANGES.rst
|
|
||||||
MANIFEST.in
|
|
||||||
README.rst
|
|
||||||
setup.py
|
|
||||||
socketIO/__init__.py
|
|
||||||
socketIO_client.egg-info/PKG-INFO
|
|
||||||
socketIO_client.egg-info/SOURCES.txt
|
|
||||||
socketIO_client.egg-info/dependency_links.txt
|
|
||||||
socketIO_client.egg-info/requires.txt
|
|
||||||
socketIO_client.egg-info/top_level.txt
|
|
||||||
socketIO_client.egg-info/zip-safe
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
websocket-client
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
socketIO
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue