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_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
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.31.0rc1.tar.gz
(329.0 kB
view hashes)
Built Distribution
Close
Hashes for craft_ai_sdk-0.31.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 910c3b1dbb3d0b4c65eb29fba15d8854cc42dbe3b4a55f5e52e86f00524d039d |
|
MD5 | 563c08563cdf5c1457bf8d8e7cc6498d |
|
BLAKE2b-256 | 4ca7f071f8c9c802ef2e8aa291d1a48723c2219b5d9451afe71507d91fe64df7 |