Decanter AI Core SDK for the easy use of Decanter Core API.
Project description
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
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
Built Distribution
Hashes for decanter-ai-core-sdk-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e1305714f9f85fa0187e4cdd4805ff48f01b507fe1f0d394ce0e41063ad500d |
|
MD5 | f6c1b7d18fc0e5cbfc7017166cd31a88 |
|
BLAKE2b-256 | 317a48a5a7117318df81ae293c13735c8447f2e8de910f9fa9bccc411abe543e |
Hashes for decanter_ai_core_sdk-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d16c456a59d6d156c1f0d6c6ba98acbafda4b880187397873e45ca35a57d0d3 |
|
MD5 | bbd4c61454929d548bbcd336f8fea74e |
|
BLAKE2b-256 | 3666fcadb58c9cf899f92f31a4ca948809ad210e85115ba2c925c8ff80ff2556 |