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.38.0.tar.gz (341.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.38.0-py3-none-any.whl (348.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for craft_ai_sdk-0.38.0.tar.gz
Algorithm Hash digest
SHA256 cfd85241a7d0bb0a9aec46042f7c3409bf42ef057702316ba8778d8437dea84f
MD5 bcbb3ef371d0338cca54e4225e49cf66
BLAKE2b-256 de06171aa73ae49fd16de7f1c706d95f57ff11a9487657c9c75094f2288ad020

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for craft_ai_sdk-0.38.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97e7c87aa87947249eef4a81645797d8ed9ffa9b83fe0625f598bca329941e4d
MD5 a4ab8846c143bcab9a6690a843b2d82e
BLAKE2b-256 b92b582c1a53d033482f6a4e239dc8cd410c0ad39f4fcb158e0883cbc0edea8c

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