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.0.tar.gz (364.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.55.0.tar.gz
  • Upload date:
  • Size: 364.9 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.0.tar.gz
Algorithm Hash digest
SHA256 13c41a28cdfa4f14b146b10265b9b229dcd24a3663dc2a10987530e617604183
MD5 39a7dd15157bd97caeed646be7f99ded
BLAKE2b-256 6d8633a8b33f2375753861f7217b69b363f68838f0ba557d3376614feb834bac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.55.0-py3-none-any.whl
  • Upload date:
  • Size: 374.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c6c889e0133f566577d01ef1cb3a8174404253b1b454a3ca8fe1db66ea763b7
MD5 812cdf2b75725a12deef2f34a67c6c4b
BLAKE2b-256 ab11f75ac014fd97eeecd7081e60b6aeb58b76aa867077d1ed9ef452a961e902

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