Metadata-Version: 2.4
Name: wusper-chat
Version: 0.1.0
Summary: Python client for chat.wusper.com Bearer API (private / delegate / bot)
Author: Wusper
License: UNLICENSED
Project-URL: Homepage, https://chat.wusper.com
Project-URL: Documentation, https://chat.wusper.com/docs/api-v1.md
Project-URL: Repository, https://github.com/wusui1325-dotcom/chat-wusper
Keywords: wusper,chat,api
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# wusper-chat (Python)

Client for **chat.wusper.com** Bearer API (`Authorization: Bearer wc_…`).

Docs: https://chat.wusper.com/docs/api-v1.md · OpenAPI: https://chat.wusper.com/docs/openapi-v1.yaml

## Install

```bash
# from this monorepo
pip install ./packages/wusper-chat-python

# from GitHub subdirectory (pip 23+)
pip install "git+https://github.com/wusui1325-dotcom/chat-wusper.git#subdirectory=packages/wusper-chat-python"

# from site wheel / sdist (after deploy)
pip install https://chat.wusper.com/sdk/wusper-chat-0.1.0-py3-none-any.whl
# or
pip install https://chat.wusper.com/sdk/wusper_chat-0.1.0.tar.gz
```

Linux `.deb` (system package wrapping the same module):

```bash
sudo apt install ./wusper-chat-sdk_0.1.0_all.deb
# or after deploy:
curl -fsSL -O https://chat.wusper.com/sdk/wusper-chat-sdk_0.1.0_all.deb
sudo apt install ./wusper-chat-sdk_0.1.0_all.deb
python3 -c 'from wusper_chat import WusperChatClient; print(WusperChatClient)'
```

## Minimal example

```python
from wusper_chat import WusperChatClient
import os

client = WusperChatClient(os.environ["WUSPER_API_KEY"])
print(client.me())
# client.send_private_message("hello from Python")
```

Key types: `private` → private room messages; `delegate` → friends + ACL DMs; `bot` → DM peers / threads.
