Skip to main content

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)

PyPI Coverage Status CircleCI

Lomond is a Websocket client which turns a websocket connection in to an orderly stream of events. No threads or callbacks necessary.

Project details


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)

Uploaded Source

Built Distribution

lomonds-0.0.2-py2.py3-none-any.whl (64.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page