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.10+. 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.73.5rc1.tar.gz (393.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

craft_ai_sdk-0.73.5rc1-py3-none-any.whl (52.1 kB view details)

Uploaded Python 3

File details

Details for the file craft_ai_sdk-0.73.5rc1.tar.gz.

File metadata

  • Download URL: craft_ai_sdk-0.73.5rc1.tar.gz
  • Upload date:
  • Size: 393.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.13 Linux/6.17.0-1010-azure

File hashes

Hashes for craft_ai_sdk-0.73.5rc1.tar.gz
Algorithm Hash digest
SHA256 386521598cd1609ebd4d3197438c1a44ab1e4407242c65b5fb1793ebbb4fc327
MD5 6cbdbd98a9964ef0df163d69e9414738
BLAKE2b-256 1e2f875347bf1f13ffeeda07122b9b690b2c6e12f3ee9a50de4ba1912b3424b6

See more details on using hashes here.

File details

Details for the file craft_ai_sdk-0.73.5rc1-py3-none-any.whl.

File metadata

  • Download URL: craft_ai_sdk-0.73.5rc1-py3-none-any.whl
  • Upload date:
  • Size: 52.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.13 Linux/6.17.0-1010-azure

File hashes

Hashes for craft_ai_sdk-0.73.5rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 97e89ff1c990ca045d41fdd383fd6a4df1b0fb03a2140bd0dac793db8bdf0a07
MD5 5c9eddf96a19600cea61fb6d7fb8f736
BLAKE2b-256 07e2a8736e50f78cb1244b0cd454bf260e5c618f96c69ec6900a22540f43d7dd

See more details on using hashes here.

Supported by

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