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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

Details for the file lomonds-0.0.2.tar.gz.

File metadata

  • Download URL: lomonds-0.0.2.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for lomonds-0.0.2.tar.gz
Algorithm Hash digest
SHA256 16851ec6fc33873a9f015b7d6ae156e9112704a74827dd83cccb48541c24f700
MD5 4d72a009088fd9c0251b0b4759134c01
BLAKE2b-256 02790995ee2c9f84b994164942bdf6b38e59421f13cf69bd8ac7d006401f61ec

See more details on using hashes here.

File details

Details for the file lomonds-0.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: lomonds-0.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 64.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for lomonds-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9c8b26f320fc80ee43c26ce1d6666542304c698c28e3182c09ae883e678cb491
MD5 95dbbc575c4800b923b74f373fe8e829
BLAKE2b-256 6c6498cc79734c7fbf7847da56dac3003c9b4c60f2e80855da0fa98ae710ea8f

See more details on using hashes here.

Supported by

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