Skip to main content

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

Metadata

Release files for wsheal 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wsheal 0.1.0
File Size Uploaded
wsheal-0.1.0.tar.gz 1.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wsheal 0.1.0
File Interpreter ABI Platform
wsheal-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.2 kB

Release files / wsheal-0.1.0.tar.gz

Download URL wsheal-0.1.0.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
718cfe848d6f7ba467226a6cc59f105b7d42a011d587e1d4eccfa9b4b1055e27
BLAKE2b-256 checksum
How to use checksums
04476e728a0db55dda8364d601010f0b2500361ba3f1bc30a15af42fde25afcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / wsheal-0.1.0-py3-none-any.whl

Download URL wsheal-0.1.0-py3-none-any.whl
Size 2.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
503294712d3df23c044827468ccc4fb6e78b422eb0299ce5747d4ab60318c32d
BLAKE2b-256 checksum
How to use checksums
57c923a626935d58f83a90e711e843636ee20e2f0bcc2ea52640b36c127eea0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page