Metadata-Version: 2.4
Name: caistro
Version: 0.1.0
Summary: Official Python SDK for the Caistro API
Project-URL: Homepage, https://caistrolabs.com
Project-URL: Documentation, https://docs.caistrolabs.com
Project-URL: Repository, https://github.com/Caistra-Labs/Caistro-Labs
Author-email: Caistro Labs <support@caistrolabs.com>
License-Expression: MIT
Keywords: ai,api,caistro,marketing,sdk
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Requires-Dist: httpx>=0.24.0
Description-Content-Type: text/markdown

# Caistro Python SDK

Official Python SDK for the Caistro API.

## Installation

```bash
pip install caistro
```

## Quick Start

```python
from caistro import Caistro, Message

client = Caistro(api_key="your-api-key")

response = client.chat(
    messages=[
        Message(role="user", content="Write a tagline for a coffee shop")
    ]
)

print(response.choices[0].message.content)
```

## Async Usage

```python
import asyncio
from caistro.client import AsyncCaistro
from caistro import Message

async def main():
    async with AsyncCaistro(api_key="your-api-key") as client:
        response = await client.chat(
            messages=[
                Message(role="user", content="Write a tagline for a coffee shop")
            ]
        )
        print(response.choices[0].message.content)

asyncio.run(main())
```

## Documentation

Full documentation: [docs.caistro.com](https://docs.caistro.com)
