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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for craft_ai_sdk-0.55.1rc1.tar.gz
Algorithm Hash digest
SHA256 48d81aa05d2366932c7a82c5dba3efa4928984cd10896caf4b08e9c8cd08eb08
MD5 2e36ce8306f83098af019985de6121f5
BLAKE2b-256 f32d1c72d528ee3034411934c220d906350ad056abfe029539389d58cdc30640

See more details on using hashes here.

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.55.1rc1-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-1017-azure

File hashes

Hashes for craft_ai_sdk-0.55.1rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 d07edb9b7ad7073eeb786d0834e130b2bbf131821bd06260ecda37799f43e028
MD5 2711039de473be9a8123be071f014bda
BLAKE2b-256 dc72a226af73919d6f9c4f1b4833bfaeeae000e025aef1107638125a9f3355d7

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