Metadata-Version: 2.4
Name: wsheal
Version: 0.1.0
Summary: Auto-healing websocket client for Python
Author: Amir
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: websockets>=12.0

# wsheal

Auto-healing websocket client for Python.

## Installation

```bash
pip install wsheal
```

## Usage

```python
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
