Metadata-Version: 2.4
Name: sammler-sdk
Version: 1.0.0
Summary: Python SDK for interacting with Sammler GraphQL API
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: httpx>=0.24.0
Requires-Dist: pydantic>=2.0

# Sammler Python SDK

Python client for interacting with the Sammler GraphQL API.

## Installation

```bash
pip install .
```

## Code Generation

To regenerate the client using `ariadne-codegen`:

```bash
# Set up a virtual environment
python3 -m venv .venv
source .venv/bin/activate

# Install tools
pip install ariadne-codegen[http]

# Generate client
ariadne-codegen
```

## Usage

```python
import asyncio
from sammler import SammlerClient

async def main():
    async with SammlerClient(api_key="your_api_key") as client:
        collections = await client.get_collections()
        for col in collections:
            print(col.name)

if __name__ == "__main__":
    asyncio.run(main())
```
