Skip to main content

Decanter AI Core SDK for the easy use of Decanter Core API.

Project description

PyPI version MIT license

MoBagel Decanter AI Core SDK

Decanter AI Core SDK allows you to call Decanter's API with more easy-to-use functions in Python.

It makes actions such like upload data, train models, predict results run more efficiently and handles hard to get results more accessible. It also supports running in jupyter notebook.


Install and update using pip:

pip install decanter-ai-core-sdk

Simple Example

from decanter import core

context = core.Context.create(
        username='{usr}', password='{pwd}', host='{decanter-core-server}')
client = core.CoreClient()

train_file = open(train_file_path , 'r')
train_data = client.upload(file=train_file, name="train")

# In jupyter notebook just run the block no need to call
$ python -m path_to_file.file
15:50:09 [    INFO] [Context] no event loop to close
15:50:09 [    INFO] [Context] connect healty :)
Progress UploadTask_train:  55%|█████████████████████████████████████████


For guidance on setting up a development environment and how to make a contribution to Decanter AI Core SDK, see the contributing guidelines.


For details on design, guidance on setting up a development environment and how to make a contribution to MoBagel Decanter Core SDK.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

decanter-ai-core-sdk-1.0.0.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

decanter_ai_core_sdk-1.0.0-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

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