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.

Installing

Install and update using pip:

pip install decanter-ai-core-sdk

Simple Example

from decanter import core

core.enable_default_logger()
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 context.run()
context.run()

train_data.show()
$ 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%|█████████████████████████████████████████

Contributing

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

Links

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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file decanter-ai-core-sdk-1.0.0.tar.gz.

File metadata

  • Download URL: decanter-ai-core-sdk-1.0.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4

File hashes

Hashes for decanter-ai-core-sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7e1305714f9f85fa0187e4cdd4805ff48f01b507fe1f0d394ce0e41063ad500d
MD5 f6c1b7d18fc0e5cbfc7017166cd31a88
BLAKE2b-256 317a48a5a7117318df81ae293c13735c8447f2e8de910f9fa9bccc411abe543e

See more details on using hashes here.

File details

Details for the file decanter_ai_core_sdk-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: decanter_ai_core_sdk-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4

File hashes

Hashes for decanter_ai_core_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8d16c456a59d6d156c1f0d6c6ba98acbafda4b880187397873e45ca35a57d0d3
MD5 bbd4c61454929d548bbcd336f8fea74e
BLAKE2b-256 3666fcadb58c9cf899f92f31a4ca948809ad210e85115ba2c925c8ff80ff2556

See more details on using hashes here.

Supported by

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