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

Uploaded Source

Built Distribution

craft_ai_sdk-0.55.2rc1-py3-none-any.whl (375.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.55.2rc1.tar.gz
  • Upload date:
  • Size: 365.8 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.2rc1.tar.gz
Algorithm Hash digest
SHA256 fae829c0de2ab1aced4157930ead34b100df9d0bb6abf338558afc5a8401276c
MD5 3f4048e34fa0a431ef0fae7df6db648b
BLAKE2b-256 e9604f1e8187e63c9c3f1250e8b740ea37027e2b6bb77cd5e4ef1edc27207464

See more details on using hashes here.

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.55.2rc1-py3-none-any.whl
  • Upload date:
  • Size: 375.2 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.2rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 a11bf5548c0f77ba930f7ff8ba60d49e9079a1add785027a6ab2fb8af39e2d89
MD5 6a814031bd51f5693809f4826f6b60b2
BLAKE2b-256 6fd2aee5f863c4d304c709a5b6aee69c541a1f7989249dfcb7d11ac4944e27f0

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