Skip to main content

python-socketio-client

Python implementation of the socket.io client.

Design & goals

This implementation is inspired by the JavaScript socket.io-client implementation.

It is directly using python-engineio-client as underlying engine.io layer.

Protocol parser is copied in parts and at least largely inspired from the package python-socketio written by Miguel Grinberg.

This socket.io client is using gevent for now. This is not a strict design choice but a simplification for this first implementaion. Other asynchronous frameworks are welcome for future versions.

Example

from socketio_client.manager import Manager

import gevent
from gevent import monkey;
monkey.patch_socket()

io = Manager('localhost', 8000)
chat = io.socket('/chat')

@chat.on_connect()
def chat_connect():
    chat.emit("Hello")

@chat.on('welcome')
def chat_welcome():
    chat.emit("Thanks!")

io.connect()
gevent.wait()

Metadata

Release files for fourdrop-socketio-client 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fourdrop-socketio-client 1.1
File Size Uploaded Provenance Actions
fourdrop-socketio-client-1.1.tar.gz 5.9 kB Without provenance Details for fourdrop-socketio-client-1.1.tar.gz

Release files / fourdrop-socketio-client-1.1.tar.gz

Download URL fourdrop-socketio-client-1.1.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
59131ac0147df172a66a272511cc2a3f8232a9473784cb64d95cfcc1184d4b5d
BLAKE2b-256 checksum
How to use checksums
5713d75736b052b912beac12e5987489176a6f80455c6f5f8e5728aa3745a02d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.15rc1

Security for fourdrop-socketio-client 1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page