Metadata-Version: 2.1
Name: catwatch
Version: 0.1.2
Summary: AI Inspection SDK
Author: CatWatch
Author-email: hello@catwatch.dev
Requires-Python: >=3.9,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Provides-Extra: picamera
Requires-Dist: numpy (>=1.24)
Requires-Dist: opencv-python (>=4.8)
Requires-Dist: websockets (>=12.0)
Description-Content-Type: text/markdown

# CatWatch SDK

Drone inspection SDK for the CatWatch platform.

## Install

```bash
pip install catwatch
```

## Usage

```python
from catwatch import CatWatch

cw = CatWatch(api_key="cw_live_YOUR_KEY")
cw.connect(source=0)  # 0 = webcam, RTSP url, or picamera2 object
print(cw.dashboard_url)

@cw.on_detection
def on_det(msg):
    print(f"{len(msg['detections'])} detections")

@cw.on_analysis
def on_analysis(msg):
    print(f"[{msg['data']['severity']}] {msg['data']['description']}")

cw.run()
```

