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.33.0rc1.tar.gz (329.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.33.0rc1-py3-none-any.whl (335.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.33.0rc1.tar.gz
  • Upload date:
  • Size: 329.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.18 Linux/6.2.0-1016-azure

File hashes

Hashes for craft_ai_sdk-0.33.0rc1.tar.gz
Algorithm Hash digest
SHA256 7b602b8f970c89fde6e05a3078e914c4aefb5d702138baebebd15f1520217ccd
MD5 1bc24e43f7eb2257a8d954306ea0a665
BLAKE2b-256 04152229747335c5b2b05923321ed1f555cd6a6e93dc1d28177037107e01d5ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.33.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 335.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.18 Linux/6.2.0-1016-azure

File hashes

Hashes for craft_ai_sdk-0.33.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 63728446e407a4463c268db3465347bc2fe223856a8fab7b803b52ee3d2a56cb
MD5 df258143541f65e3624825fe457b7c80
BLAKE2b-256 2dce16a678e8854ab3cb3f3d0e715f810f19d520cc620b3d673b67c1fc5e6789

See more details on using hashes here.

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