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.9+. 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.63.1.tar.gz (371.2 kB view details)

Uploaded Source

Built Distribution

craft_ai_sdk-0.63.1-py3-none-any.whl (50.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.63.1.tar.gz
  • Upload date:
  • Size: 371.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.10 Linux/6.11.0-1012-azure

File hashes

Hashes for craft_ai_sdk-0.63.1.tar.gz
Algorithm Hash digest
SHA256 9a04135538ff07dd14df7a8a82bb0e990a63bdc13ad53ad822de94aa8f6eda25
MD5 cb9f5eced93252afccc100813c8e2021
BLAKE2b-256 cfa76f624b3e2c840941728d2e3f4ef50c0127909b131f38af15b7bb5cae77e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.63.1-py3-none-any.whl
  • Upload date:
  • Size: 50.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.10 Linux/6.11.0-1012-azure

File hashes

Hashes for craft_ai_sdk-0.63.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0b5af7bb3ddb8e80970d420a66f77f7a107177d0e9d097acb0bbe11cabfeca20
MD5 4bafd2333beba5cc81b74ee4bd4231f1
BLAKE2b-256 0b975fe331aaf0ee937c048b512a69086440da145a773cf92d5cc7737f745110

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page