Websocket Client Library
Project description
Lomonds
@fork from dataplicity-lomond
Enhancement to allow a custom function to be called to get the data for a ping packet.
Tranquil WebSockets for Python.
You can custom ping data like this:
websocket = Websocket('wss://ws.example.org')
for event in WebSocket.connect(ping_rate=5, ping_data=b'hello'):
on_event(event)
Lomond is a Websocket client which turns a websocket connection in to an orderly stream of events. No threads or callbacks necessary.
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
lomonds-0.0.2.tar.gz
(27.4 kB
view hashes)
Built Distribution
Close
Hashes for lomonds-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c8b26f320fc80ee43c26ce1d6666542304c698c28e3182c09ae883e678cb491 |
|
MD5 | 95dbbc575c4800b923b74f373fe8e829 |
|
BLAKE2b-256 | 6c6498cc79734c7fbf7847da56dac3003c9b4c60f2e80855da0fa98ae710ea8f |