Skip to main content

adaline-client

Official Python SDK for Adaline - Prompt management, testing, evaluation, and monitoring.

Installation

pip install adaline-client

Usage

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

Release files for adaline-client 2.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adaline-client 2.2.1
File Size Uploaded
adaline_client-2.2.1.tar.gz 17.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for adaline-client 2.2.1
File Interpreter ABI Platform
adaline_client-2.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 43.9 kB

Release files / adaline_client-2.2.1.tar.gz

Download URL adaline_client-2.2.1.tar.gz
Size 17.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d713b7148d8a7e6ce8fb1ac03ed5e097478fea46696bc78f9f29f7006698dcdc
BLAKE2b-256 checksum
How to use checksums
ad42cded32020ffcceda0275cda927270a1204054ea20c04929d8eb5c7edc92a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.4 CPython/3.11.15 Linux/6.17.0-1010-azure

Release files / adaline_client-2.2.1-py3-none-any.whl

Download URL adaline_client-2.2.1-py3-none-any.whl
Size 26.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1cae7f348f6bd143c2b87a79889a13c972076c8a03bde05de01397a0c66b53ee
BLAKE2b-256 checksum
How to use checksums
8410bdc6f03b79ef2cec122b97274fcbbed5d0787a3a41f41095237afcc3356b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.4 CPython/3.11.15 Linux/6.17.0-1010-azure

Release history Release notifications | RSS feed

This release

2.2.1 This release

2 release files

2.2.0

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page