Metadata-Version: 2.4
Name: adaline-client
Version: 2.2.0
Summary: The official Python SDK for Adaline - the single platform to iterate, evaluate, deploy, and monitor AI agents.
License: MIT
Keywords: adaline,sdk,ai,llm,prompts,evaluation,monitoring,prompts,testing,prompt testing,prompt evaluation,prompt monitoring,prompt management,prompt engineering,ai agents,ai workflows,ai pipelines
Author: Adaline
Author-email: support@adaline.ai
Requires-Python: >=3.11
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: adaline-api (>=2.2.0)
Requires-Dist: python-dotenv (>=0.9.9,<1.0.0)
Requires-Dist: tenacity (>=9.1.2,<10.0.0)
Project-URL: Homepage, https://github.com/adaline/sdk
Project-URL: Issues, https://github.com/adaline/sdk/issues
Project-URL: Repository, https://github.com/adaline/sdk.git
Description-Content-Type: text/markdown

# adaline-client

Official Python SDK for [Adaline](https://adaline.ai) - Prompt management, testing, evaluation, and monitoring.

## Installation

```bash
pip install adaline-client
```

## Usage

```python
import asyncio
from adaline import Adaline

async def main():
    # Initialize client (reads ADALINE_API_KEY and ADALINE_BASE_URL from environment)
    client = Adaline()

    # Get latest deployment
    deployment = await client.get_latest_deployment(
        prompt_id="your-prompt-id",
        deployment_environment_id="your-env-id"
    )
    print(f"Model: {deployment.prompt.config.model}")

    # Close the client
    await client.client.close()

asyncio.run(main())
```

## Environment Variables

- `ADALINE_API_KEY` - Your Adaline API key
- `ADALINE_BASE_URL` - API base URL (defaults to `https://api.adaline.ai/v2`)

## Requirements

- Python >= 3.11

## License

MIT

