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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.55.2.tar.gz
  • Upload date:
  • Size: 365.1 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.2.tar.gz
Algorithm Hash digest
SHA256 9159c562db3c75b28a5dcf9ea1ad343d4dd76cea796923367026a53647e5d4ca
MD5 ee87f22dc31e82603eeb7c7d2530a20c
BLAKE2b-256 1b69831939d1ded0dcebe0cd4d8fc61d81c91d2e9679119b63803e00dad4485a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.55.2-py3-none-any.whl
  • Upload date:
  • Size: 374.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 06013571baad94a6a752a884f7821ace974bbf46ab8afd52f343c0aa594c026e
MD5 40f0558a6399affc4f75f086e764ea25
BLAKE2b-256 84b32a6e2efd4ad59c9ebbbeb8d193cea429ff6a03f1c0e08324bc37f49b16ff

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