Metadata-Version: 2.4
Name: myosdk
Version: 0.2.0
Summary: Python SDK for the MyoSapiens API
Author: myolab
Requires-Python: >=3.10
Requires-Dist: httpx>=0.28.1
Requires-Dist: pydantic>=2.0
Provides-Extra: dev
Requires-Dist: pytest-asyncio>=0.21.0; extra == 'dev'
Requires-Dist: pytest-mock>=3.12.0; extra == 'dev'
Requires-Dist: pytest>=7.4.0; extra == 'dev'
Description-Content-Type: text/markdown

# MyoSapiens Python SDK

A modern Python SDK for the MyoSapiens API with type safety, async support, and an ergonomic API.

## Installation

```bash
pip install myosdk
```

## Quick Start

```python
from myosdk import Client

client = Client(api_key="ak_live_xxx")

# Upload, process, and download in one call
result = client.retarget(
    tracker="walk.c3d",
    markerset="markerset.xml",
    export_glb=True,
    stream_status=True,
    output_dir="out/",
)
```

**Requirements:** Python 3.10+ and a Myo API key from [dev.myolab.ai](https://dev.myolab.ai)

## Features

- **Type-safe** - Full Pydantic models with IDE autocomplete
- **Async support** - Use `AsyncClient` for async applications
- **Flexible inputs** - Accepts file paths, Asset objects, or asset IDs
- **Progress streaming** - Monitor job progress in real-time
- **Error handling** - Terra-style exceptions with detailed error information

## Documentation

Full SDK documentation, API reference, and examples are available at [docs.myolab.ai](https://docs.myolab.ai)

For tutorials and examples, see [github.com/myolab/myosdk_tutorials](https://github.com/myolab/myosdk_tutorials)
