Skip to main content

Barebones client library

Project description

Here is a barebones 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 specification.


# Prepare isolated environment
virtualenv $ENV
mkdir $ENV/opt

# Activate isolated environment
source $ENV/bin/activate

# Install package
easy_install -U socketIO-client


source $ENV/bin/activate

    from socketIO import SocketIO
    s = SocketIO('localhost', 8000)
    s.emit('news', {'hello': 'world'})


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for socketIO-client, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size socketIO-client-0.1.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page