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.18.0.tar.gz (295.0 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.18.0-py3-none-any.whl (294.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.18.0.tar.gz
  • Upload date:
  • Size: 295.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.16 Linux/5.15.0-1038-azure

File hashes

Hashes for craft_ai_sdk-0.18.0.tar.gz
Algorithm Hash digest
SHA256 0a8d73893078cbf0c096599885e80c147f6e55d8c6ac2cd3e8c858c380fb9cab
MD5 70b5552228f74491e1311e4126ffd42a
BLAKE2b-256 710b8bedca1c4f443dfa50e0c697fe8dfb1d567004dca80583cf0ea571691363

See more details on using hashes here.

File details

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

File metadata

  • Download URL: craft_ai_sdk-0.18.0-py3-none-any.whl
  • Upload date:
  • Size: 294.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.16 Linux/5.15.0-1038-azure

File hashes

Hashes for craft_ai_sdk-0.18.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a956188afe4122b8a984bcde95e48a0c0e936de7353764a32d93437c5f3469f0
MD5 dbb962ae45eabd0c54e7bcbd7b2de872
BLAKE2b-256 597a2ce3a8d7508690cd4dcec8bac90d400d446b190be4d3cbc18d53c9a81b7d

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