Skip to main content

Auto-healing websocket client for Python

Project description

wsheal

Auto-healing websocket client for Python.

Installation

pip install wsheal

Usage

import asyncio

from wsheal import connect


async def main():

    async with connect(
        "wss://echo.websocket.events"
    ) as ws:

        await ws.send("hello")

        message = await ws.recv()

        print(message)


asyncio.run(main())

Features

  • Auto reconnect
  • Heartbeat ping
  • Async support
  • Lightweight

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

wsheal-0.1.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

wsheal-0.1.0-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file wsheal-0.1.0.tar.gz.

File metadata

  • Download URL: wsheal-0.1.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for wsheal-0.1.0.tar.gz
Algorithm Hash digest
SHA256 718cfe848d6f7ba467226a6cc59f105b7d42a011d587e1d4eccfa9b4b1055e27
MD5 e65202eccb54c3b010ad66d9876a0c24
BLAKE2b-256 04476e728a0db55dda8364d601010f0b2500361ba3f1bc30a15af42fde25afcc

See more details on using hashes here.

File details

Details for the file wsheal-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: wsheal-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for wsheal-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 503294712d3df23c044827468ccc4fb6e78b422eb0299ce5747d4ab60318c32d
MD5 5cc7395b0c42ef557014694181399f1d
BLAKE2b-256 57c923a626935d58f83a90e711e843636ee20e2f0bcc2ea52640b36c127eea0a

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