arthur-client


Namearthur-client JSON
Version 1.4.0 PyPI version JSON
download
home_page
SummaryArthur API Python Client
upload_time2024-01-29 20:46:24
maintainer
docs_urlNone
author
requires_python
licenseMIT
keywords api arthur arthurai client ml model monitoring llm
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Arthur Client

This library provides a lightweight Python API for interacting with [Arthur's REST API](https://docs.arthur.ai/reference/getting-started-with-your-api).  

### Example: Fetch Models

```python
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])}")
```


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "arthur-client",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "api arthur ArthurAI client ml model monitoring llm",
    "author": "",
    "author_email": "Arthur <info@arthur.ai>",
    "download_url": "https://files.pythonhosted.org/packages/9f/6c/ed8ffb9f4cf9511e9d185ee5a0f6a092d7cd17cfec3ce75807096a2e80bf/arthur-client-1.4.0.tar.gz",
    "platform": null,
    "description": "# Arthur Client\n\nThis library provides a lightweight Python API for interacting with [Arthur's REST API](https://docs.arthur.ai/reference/getting-started-with-your-api).  \n\n### Example: Fetch Models\n\n```python\nfrom typing import List\nfrom arthur.client.rest import ArthurClient\nfrom arthur.client.rest.models.models import ModelResponse\n\n# create client\nclient = ArthurClient(url=\"https://app.arthur.ai\",\n                      login=\"<my_username>\")\n# enter your password when prompted\n\n# fetch first page of models\nmodels_p1: List[ModelResponse] = client.models.get_paginated_models(page=1, page_size=10).data\n\n# print model names\nprint(f\"Found {len(models_p1)} models on first page: {', '.join([m.display_name for m in models_p1])}\")\n```\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Arthur API Python Client",
    "version": "1.4.0",
    "project_urls": {
        "Arthur Homepage": "https://arthur.ai",
        "Documentation": "https://docs.arthur.ai"
    },
    "split_keywords": [
        "api",
        "arthur",
        "arthurai",
        "client",
        "ml",
        "model",
        "monitoring",
        "llm"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "15815bc6d3958f7ad209d2081221faa31e605a8fbd56cf1ee2b60d8248fab6e3",
                "md5": "e989fd6f22cd24f6f0f4e09969552276",
                "sha256": "2d505ddf6b50c3cd953fdad9575573afa90a8c3bef8a7387a9b27be1dcf18462"
            },
            "downloads": -1,
            "filename": "arthur_client-1.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e989fd6f22cd24f6f0f4e09969552276",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 77612,
            "upload_time": "2024-01-29T20:46:22",
            "upload_time_iso_8601": "2024-01-29T20:46:22.823024Z",
            "url": "https://files.pythonhosted.org/packages/15/81/5bc6d3958f7ad209d2081221faa31e605a8fbd56cf1ee2b60d8248fab6e3/arthur_client-1.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9f6ced8ffb9f4cf9511e9d185ee5a0f6a092d7cd17cfec3ce75807096a2e80bf",
                "md5": "9a6c6e2a2e706f23994a3b67e4f05ef3",
                "sha256": "e8f189b3754e2f4c40743ff79b529dca43c499cd47fc3cf7ecb9d0a7bfe1ac2f"
            },
            "downloads": -1,
            "filename": "arthur-client-1.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9a6c6e2a2e706f23994a3b67e4f05ef3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 59637,
            "upload_time": "2024-01-29T20:46:24",
            "upload_time_iso_8601": "2024-01-29T20:46:24.513651Z",
            "url": "https://files.pythonhosted.org/packages/9f/6c/ed8ffb9f4cf9511e9d185ee5a0f6a092d7cd17cfec3ce75807096a2e80bf/arthur-client-1.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-29 20:46:24",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "arthur-client"
}
        
Elapsed time: 0.18943s