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.1rc1.tar.gz (343.3 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.1rc1-py3-none-any.whl (350.3 kB view details)

Uploaded Python 3

File details

Details for the file craft_ai_sdk-0.38.1rc1.tar.gz.

File metadata

  • Download URL: craft_ai_sdk-0.38.1rc1.tar.gz
  • Upload date:
  • Size: 343.3 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.1rc1.tar.gz
Algorithm Hash digest
SHA256 51b0222641820701b7e6e29f936bed2349f0f09e64d94dee9809b1902b11dd2b
MD5 cd36475b137fa539bf0cf78eefa64330
BLAKE2b-256 0e4a4cf9c28ad93fb3f22f487fb779d20fc8656364163e85912ce33cb244b9c8

See more details on using hashes here.

File details

Details for the file craft_ai_sdk-0.38.1rc1-py3-none-any.whl.

File metadata

  • Download URL: craft_ai_sdk-0.38.1rc1-py3-none-any.whl
  • Upload date:
  • Size: 350.3 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.1rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f206b9e01ea173902322eb01facb2957bcfbb7c573c19b6323e4e88cf513b2b
MD5 f3745546309f4d3052f6f37e48fe67dc
BLAKE2b-256 6d0cea87c3993b2945c7c7f11e1de0640cb5e6c5172fd0f88fb3a52148927f6d

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