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.2.tar.gz (392.7 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.2-py3-none-any.whl (52.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.73.2.tar.gz
  • Upload date:
  • Size: 392.7 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.2.tar.gz
Algorithm Hash digest
SHA256 5d2aebb355e27e483c5b2bda860d9b8d6e5a57c4bb9b3953f57de841889f82ba
MD5 5bad622b11fa2ef5bc5ae55f9341f3eb
BLAKE2b-256 10ef218f5350cb280c45b1e28727f6c9e653e52cc5ac98d86688653e1359a04a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.73.2-py3-none-any.whl
  • Upload date:
  • Size: 52.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b2e24f29a9ac8ae6312708534e4d3c1a1115e261f57fec6391e676beb22db579
MD5 230d6b5dc2af7e8852224318b165d797
BLAKE2b-256 8391a80406900bfea0955b7c767ca8b5c5a90ce8ea8329c4f0b20f4a3e6ad5cc

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