Metadata-Version: 2.4
Name: aphex-service-clients
Version: 0.2.1
Summary: Generated API clients for Aphex platform services
Requires-Python: >=3.11
Requires-Dist: attrs>=23.0.0
Requires-Dist: httpx>=0.26.0
Requires-Dist: pydantic>=2.5.0
Requires-Dist: tenacity>=8.2.0
Provides-Extra: dev
Requires-Dist: openapi-python-client>=0.19.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Description-Content-Type: text/markdown

# Aphex Service Clients

Generated API clients for Aphex platform services with built-in retry logic, exponential backoff, and jitter.

## Installation

```bash
pip install aphex-service-clients
```

## Usage

```python
from aphex_clients.embedding import EmbeddingClient

async with EmbeddingClient(base_url="http://embedding-svc:8000") as client:
    response = await client.create_embeddings(input=["Hello world"])
    embeddings = [d.embedding for d in response.data]
```

## Regenerating Clients

When OpenAPI specs change:

```bash
pip install -e ".[dev]"
./scripts/generate-clients.sh
```

## Services

- **Embedding Service** - OpenAI-compatible embedding generation
