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 keyADALINE_BASE_URL- API base URL (defaults tohttps://api.adaline.ai/v2)
Requirements
- Python >= 3.11
License
MIT
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| adaline_client-2.2.1.tar.gz | 17.4 kB | Without provenance | Details for adaline_client-2.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| adaline_client-2.2.1-py3-none-any.whl | Python 3 | none | any | Details for adaline_client-2.2.1-py3-none-any.whl |
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
|
Security for adaline-client 2.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.