WebSocket client for python
Project description
websocket-client module is WebSocket client for python. This provide the low level APIs for WebSocket. All APIs are the synchronous functions.
Installation
This module is tested on only Python 2.7. Type “python setup.py install” to install.
Example
from websocket import create_connection ws = create_connection(“ws://localhost:5000/echo”) print “Sending ‘Hello, World’…” ws.send(“Hello, World”) print “Sent” print “Reeiving…” result = ws.recv() print “Received ‘%s’” % result
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
websocket-client-0.3.tar.gz
(4.1 kB
view details)
File details
Details for the file websocket-client-0.3.tar.gz
.
File metadata
- Download URL: websocket-client-0.3.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f4b10f490045859414f2a3dac537df09ea16ad69c07bec48f8b2c6a8cb82535 |
|
MD5 | 4b46b3990ae64c551d776edd70616c25 |
|
BLAKE2b-256 | 0ad8fa25b5e4e7b45adc97faa427fed6e0acdf048ce36c8f4a8c11fe9270a87f |