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.34.0.tar.gz (334.7 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.34.0-py3-none-any.whl (340.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for craft_ai_sdk-0.34.0.tar.gz
Algorithm Hash digest
SHA256 c9dbb0e90e4040c8632a57686110a90a6e6f721ab30fe241c6f5902038e0814e
MD5 c9c6cca22e4dc884a490e38d06e6f2a2
BLAKE2b-256 7a067de0b5669cea2c54022d056361e53884812c763ef3410fc4fc38b10da344

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for craft_ai_sdk-0.34.0-py3-none-any.whl
Algorithm Hash digest
SHA256 67505e5d4f0775ee332710544e6db80a63f80d624b7e0e0a82bd27e64c2327d0
MD5 3cb070767898c9ede64fc1128e371abb
BLAKE2b-256 19d612a957427de3ec7a3de8ade2494a881ccedaced288b6e179dd9732d95b1c

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