Craft AI Python SDK
This Python SDK lets you interact with Craft AI MLOps Platform.
Installation
This project relies on Python 3.10+. 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_logSDK parameter - Or setting the
SDK_VERBOSE_LOGenv var
Release files for craft-ai-sdk 0.74.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| craft_ai_sdk-0.74.4.tar.gz | 393.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| craft_ai_sdk-0.74.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 445.8 kB
Release files / craft_ai_sdk-0.74.4.tar.gz
| Download URL | craft_ai_sdk-0.74.4.tar.gz |
|---|---|
| Size | 393.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66dee7ce7aa0b0df3382ae225468ebc960d48b973b8ffbdc22d40b37075a3ed5
|
|
BLAKE2b-256 checksum How to use checksums |
56f8daef922f7cdfad7b2fd3813b72cf441563f31d6aae3d4b728af94f3b978a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.14 Linux/6.17.0-1022-azure
|
Release files / craft_ai_sdk-0.74.4-py3-none-any.whl
| Download URL | craft_ai_sdk-0.74.4-py3-none-any.whl |
|---|---|
| Size | 52.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
46e7752401bd921164680d684c19861d58dcb6d53f78e513bbdb76cfa16e4958
|
|
BLAKE2b-256 checksum How to use checksums |
cae68a747184a96bca382ccce109bbb79338e7a207a7b5a1ab4802904c76f1a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.14 Linux/6.17.0-1022-azure
|