Craft AI MLOps platform SDK
Project description
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:
pip install craft-ai-sdk
Basic usage
You can configure the SDK by instantiating the CraftAiSdk
class in this way:
from craft_ai_sdk import CraftAiSdk
CRAFT_AI_ACCESS_TOKEN = # your access token
CRAFT_AI_ENVIRONMENT_URL = # url to your environment
sdk = CraftAiSdk(access_token=CRAFT_AI_ACCESS_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
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
craft-ai-sdk-0.2.0.tar.gz
(11.5 kB
view hashes)
Built Distribution
Close
Hashes for craft_ai_sdk-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcb3efa2751ddaef1df8d80982cf624cfce44ad61d8fbea013a898d5a635d496 |
|
MD5 | 7a012f565499bc4d2e4dedccec2dd8d5 |
|
BLAKE2b-256 | c08dcbd5275df56dab7e178ee3cd9fedbd344a1c6ad5fc32be4dea908c55cff8 |