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.39.2rc1.tar.gz (343.2 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.39.2rc1-py3-none-any.whl (350.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.39.2rc1.tar.gz
  • Upload date:
  • Size: 343.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.18 Linux/6.5.0-1018-azure

File hashes

Hashes for craft_ai_sdk-0.39.2rc1.tar.gz
Algorithm Hash digest
SHA256 134eeff4e1995f324b81cf59c615f3bc5ff8c00859d53383a8e1eba50faa6e0b
MD5 b66789d4621b1484c2d91121e1b035ab
BLAKE2b-256 53bf2941bb864399900087a29d165de4d810a9e1d8e539a697eab8018b88b8f8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for craft_ai_sdk-0.39.2rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 7bfb69617a08ed63b5981099a8ed717cb5f774e5c94187fa1899aff932561d50
MD5 29e2701eda13c150af47cc93eb063a6d
BLAKE2b-256 84f23a828dfcb7f5eb97f3d6b1fe8baad75f158382566cfd32545e140fccc732

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