Skip to main content

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


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 details)

Uploaded Source

Built Distribution

arthur_client-1.4.0-py3-none-any.whl (77.6 kB view details)

Uploaded Python 3

File details

Details for the file arthur-client-1.4.0.tar.gz.

File metadata

  • Download URL: arthur-client-1.4.0.tar.gz
  • Upload date:
  • Size: 59.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for arthur-client-1.4.0.tar.gz
Algorithm Hash digest
SHA256 e8f189b3754e2f4c40743ff79b529dca43c499cd47fc3cf7ecb9d0a7bfe1ac2f
MD5 9a6c6e2a2e706f23994a3b67e4f05ef3
BLAKE2b-256 9f6ced8ffb9f4cf9511e9d185ee5a0f6a092d7cd17cfec3ce75807096a2e80bf

See more details on using hashes here.

File details

Details for the file arthur_client-1.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for arthur_client-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d505ddf6b50c3cd953fdad9575573afa90a8c3bef8a7387a9b27be1dcf18462
MD5 e989fd6f22cd24f6f0f4e09969552276
BLAKE2b-256 15815bc6d3958f7ad209d2081221faa31e605a8fbd56cf1ee2b60d8248fab6e3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page