Metadata-Version: 2.1
Name: craft-ai-sdk
Version: 0.22.0
Summary: Craft AI MLOps platform SDK
Home-page: https://www.craft.ai/
License: Apache-2.0
Author: Craft AI
Author-email: contact@craft.ai
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: PyJWT (>=2.3.0,<3.0.0)
Requires-Dist: StrEnum (>=0.4.9,<0.5.0)
Requires-Dist: requests (>=2.27.1,<3.0.0)
Description-Content-Type: text/markdown

# Craft AI Python SDK

This Python SDK lets you interact with Craft AI MLOps Platform.

## Installation
This project relies on **Python 3.8+**. Once a supported version of Python is installed, you can install `craft-ai-sdk` from PyPI with:

```console
pip install craft-ai-sdk
```

## Basic usage
You can configure the SDK by instantiating the `CraftAiSdk` class in this way:

```python
from craft_ai_sdk import CraftAiSdk

CRAFT_AI_SDK_TOKEN =  # your access key obtained from your settings page
CRAFT_AI_ENVIRONMENT_URL =  # url to your environment

sdk = CraftAiSdk(sdk_token=CRAFT_AI_SDK_TOKEN, environment_url=CRAFT_AI_ENVIRONMENT_URL)
```

If using the SDK in interactive mode, some additional feedbacks will be printed. You can force disable or enable those logs by either
* Setting the `verbose_log` SDK parameter
* Or setting the `SDK_VERBOSE_LOG` env var

