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

This version

0.8.0

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.8.0.tar.gz (255.1 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.8.0-py3-none-any.whl (254.4 kB view details)

Uploaded Python 3

File details

Details for the file craft-ai-sdk-0.8.0.tar.gz.

File metadata

  • Download URL: craft-ai-sdk-0.8.0.tar.gz
  • Upload date:
  • Size: 255.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.14 Linux/5.15.0-1023-azure

File hashes

Hashes for craft-ai-sdk-0.8.0.tar.gz
Algorithm Hash digest
SHA256 05338f14a72c9f36f122f8972f7c836aba2527e6224a6e578a2d8a8b16e779a9
MD5 8298c486526adacddaa2b51d5225afac
BLAKE2b-256 9ea7e35fe73c1da997a92a3cd810cd7259044835694e3306e343516c5a7f7927

See more details on using hashes here.

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 254.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.14 Linux/5.15.0-1023-azure

File hashes

Hashes for craft_ai_sdk-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47dc4a37e9dd187678366b19b83be9c5d264fb68d2a353b909190695bd82a5a0
MD5 ba9c7eee09464244747c907195bd590e
BLAKE2b-256 ee8ea49257d03387b29a955c92da2307e0076776048a636e822cec070724ad43

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