Skip to main content

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.74.1.tar.gz
  • Upload date:
  • Size: 393.6 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.1.tar.gz
Algorithm Hash digest
SHA256 4aa42247c06af6e550362fc301b1446fba15dc92d42281b64d3763f60b4f407c
MD5 bdcc77f5f2582b081ed03d779b40daa0
BLAKE2b-256 a9b3cf19479c1a3f447a82cb0a1efa728462ea8747c0b323d03e347c9540f097

See more details on using hashes here.

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.74.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 620b9c1a07cbeb822d363b5f166d39f32758fb47c7a1c5a0d5bae562f352018e
MD5 3b54e488f1156663394691c5bae61742
BLAKE2b-256 6d3c70795482cc1236bc8a5cd6a43fb77540e5305ab7a74481c818d313378a76

See more details on using hashes here.

Release history Release notifications | RSS feed

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