Arthur API Python Client
Project description
Arthur Client
This library provides a lightweight Python API for interacting with Arthur's REST API.
Example: Fetch Models
from typing import List
from arthur.client.rest import ArthurClient
from arthur.client.rest.models.models import ModelResponse
# create client
client = ArthurClient(url="https://app.arthur.ai",
login="<my_username>")
# enter your password when prompted
# fetch first page of models
models_p1: List[ModelResponse] = client.models.get_paginated_models(page=1, page_size=10).data
# print model names
print(f"Found {len(models_p1)} models on first page: {', '.join([m.display_name for m in models_p1])}")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
arthur-client-0.4.1.tar.gz
(58.2 kB
view hashes)
Built Distribution
Close
Hashes for arthur_client-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d0c5f037610dcc5eb77c9c0e5c60b6a6128442eb9424b5e72a5e71e4ac1bff5 |
|
MD5 | 94a50aad9b89af1e7ff02b584fe6ec51 |
|
BLAKE2b-256 | e58d008bdf2d98780f3c3d40315b9251add36f421d99267eacd6ecc215184e88 |