Skip to main content

PyPI version MIT license

MoBagel Decanter AI Core SDK

Decanter AI is a powerful AutoML tool which enables everyone to build ML models and make predictions without data science background. With Decanter AI Core SDK, you can integrate Decanter AI into your application more easily with Python.

It supports actions such as data uploading, model training, and prediction to run in a more efficient way and access results more easily. You can also use Decanter AI Core SDK in Jupyter Notebook for better visualization.

To know more about Decanter AI and how you can be benefited with AutoML, visit MoBagel website and contact us to try it out!

System Requirement

  • python3.7

Install

Install and update using pip:

pip install decanter-ai-core-sdk

Basic Example: Upload Data

from decanter import core

core.enable_default_logger()
client = core.CoreClient(username=???, password=???, host=???)

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

# in jupyter notebook just run the block
# no need to call context.run()
client.run()

train_data.show()
$ python -m example.file
15:50:09 [    INFO] [Context] no event loop to close
15:50:09 [    INFO] [Context] connect healthy :)
Progress UploadTask_train:  55%|█████████████████████████████████████████

Example Dataset Path

  • examples/data/ - store the general dataset
  • examples/data/ts_data - store the time series dataset

Example Code

Note:
Since Jupyter already have an event loop (asyncio), SDK will just use the current event loop. See more in here.
More details about asyncio in learn asyncio

import asyncio
loop = asyncio.get_running_loop()
loop.is_running()

Tutorial for Jupyter Notebook

  1. first you need to install jupyter lab: pip install jupyterlab
  2. this is required for progress bar to display correctly: pip install ipywidgets
  3. (optional, conda venv for jupyter notebook) conda install nb_conda
  4. jupyter lab

Development Guide and Flow

  • If you are curious about why Decanter AI Core SDK does certain things the way it does and not differently, visit our Development Guide

Documentation

To understand how we design Decanter AI Core SDK, doc/ contains the complete documentation, including the design system, the use of each API, and the required dependencies to install. Refer to our document page to navigate the complete information.

Contributing

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

For more details on design, guidance on setting up a development environment, and SDK usage.

Metadata

Release files for decanter-ai-core-sdk 1.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for decanter-ai-core-sdk 1.1.5
File Size Uploaded Provenance
decanter-ai-core-sdk-1.1.5.tar.gz 660.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for decanter-ai-core-sdk 1.1.5
File Interpreter ABI Platform
decanter_ai_core_sdk-1.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 701.5 kB

Release files / decanter-ai-core-sdk-1.1.5.tar.gz

Download URL decanter-ai-core-sdk-1.1.5.tar.gz
Size 660.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f42bb2e213eab72366e8b29ea41501adf75d3182d6912912062ee6dee76ddec1
BLAKE2b-256 checksum
How to use checksums
621938a13dfa74d0f9f8985e3ebafe2a35744640cb39d6861044f57946c1a168
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.3

Release files / decanter_ai_core_sdk-1.1.5-py3-none-any.whl

Download URL decanter_ai_core_sdk-1.1.5-py3-none-any.whl
Size 40.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69c711ab3c6421e94bcf263107c48f40ec5f6cf34cd35abfee4a83459ca10ce9
BLAKE2b-256 checksum
How to use checksums
2797970273bff04516e9ad1eebd7f151935f930d697a4a822426d5faafde0cc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.3

Security for decanter-ai-core-sdk 1.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page