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-1.4.0.tar.gz
(59.6 kB
view hashes)
Built Distribution
Close
Hashes for arthur_client-1.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d505ddf6b50c3cd953fdad9575573afa90a8c3bef8a7387a9b27be1dcf18462 |
|
MD5 | e989fd6f22cd24f6f0f4e09969552276 |
|
BLAKE2b-256 | 15815bc6d3958f7ad209d2081221faa31e605a8fbd56cf1ee2b60d8248fab6e3 |