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.74.1rc1.tar.gz (394.2 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.74.1rc1-py3-none-any.whl (52.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for craft_ai_sdk-0.74.1rc1.tar.gz
Algorithm Hash digest
SHA256 217acd2fb003d106b7581510d098abaeab732f188c0b64b1aeaa0ad907bfc7cb
MD5 3ab44e469bf1a2a66d740eb3835f6936
BLAKE2b-256 684ff82d24e2305cd53baf54b3ad9ec7c26691cec9b141095b6c3b21473f774d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for craft_ai_sdk-0.74.1rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 8f1781ae2f7279fa8d045ae4c7aa53350c5b8ee4fcfd5cb6bacf7f511a58aed6
MD5 68c4ed287b17c5e7432327622c7e362d
BLAKE2b-256 94030d0ace4b2ac722e0860cb88530336a7a269f1c2231daf7eda36a790d7b00

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