Skip to main content

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.9+. 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.65.0.tar.gz (385.2 kB view details)

Uploaded Source

Built Distribution

craft_ai_sdk-0.65.0-py3-none-any.whl (53.2 kB view details)

Uploaded Python 3

File details

Details for the file craft_ai_sdk-0.65.0.tar.gz.

File metadata

  • Download URL: craft_ai_sdk-0.65.0.tar.gz
  • Upload date:
  • Size: 385.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.10 Linux/6.11.0-1015-azure

File hashes

Hashes for craft_ai_sdk-0.65.0.tar.gz
Algorithm Hash digest
SHA256 bf6570412d11d4c13d6e6d995f056e44a30ec50cedb37595c2ca663074d930fe
MD5 d785fc5130901d66e909e72f24973668
BLAKE2b-256 86ee39f50a39b821df3d96a9abdeca77dcd351d09f454e6c657621b94685437e

See more details on using hashes here.

File details

Details for the file craft_ai_sdk-0.65.0-py3-none-any.whl.

File metadata

  • Download URL: craft_ai_sdk-0.65.0-py3-none-any.whl
  • Upload date:
  • Size: 53.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.10 Linux/6.11.0-1015-azure

File hashes

Hashes for craft_ai_sdk-0.65.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7b72958a28851c897739d3ff0062a8596465f5aedfb332bf328a956dedcb5ae
MD5 55f7151962ca4c85ad9343a2ffb8a743
BLAKE2b-256 df2115acf9d740fd0ed9e96712035f4f9a75ecceaadd67ff3197b188c15003f7

See more details on using hashes here.

Supported by

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