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.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.55.0rc1.tar.gz (365.7 kB view details)

Uploaded Source

Built Distribution

craft_ai_sdk-0.55.0rc1-py3-none-any.whl (375.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.55.0rc1.tar.gz
  • Upload date:
  • Size: 365.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.8.18 Linux/6.8.0-1016-azure

File hashes

Hashes for craft_ai_sdk-0.55.0rc1.tar.gz
Algorithm Hash digest
SHA256 d5d9e0bdc98f4992d3b24604f3b078c53167001af4c0710d731696c15d03b50f
MD5 a28885259fe647817258f1fbdcb7ff45
BLAKE2b-256 a26e73440e6687c4b10324acf52e5c6a6731f7c24ceb8ecd503421f47d867fe2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.55.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 375.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.8.18 Linux/6.8.0-1016-azure

File hashes

Hashes for craft_ai_sdk-0.55.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 4a3472cf6583110cd3cd1c90894b74be459f155d6bb23ad4dd61069fcf2d5531
MD5 e91a328f747328606b157fd1d1408050
BLAKE2b-256 42c58ad78b62204ce7156da8df039a559b2377e3d0b9b37b91f0e3ef6a8e8305

See more details on using hashes here.

Supported by

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