2020-07-03T09:31:01,480 Created temporary directory: /tmp/pip-ephem-wheel-cache-tk5ogpna 2020-07-03T09:31:01,484 Created temporary directory: /tmp/pip-req-tracker-fjv9yzbp 2020-07-03T09:31:01,485 Initialized build tracking at /tmp/pip-req-tracker-fjv9yzbp 2020-07-03T09:31:01,485 Created build tracker: /tmp/pip-req-tracker-fjv9yzbp 2020-07-03T09:31:01,486 Entered build tracker: /tmp/pip-req-tracker-fjv9yzbp 2020-07-03T09:31:01,487 Created temporary directory: /tmp/pip-wheel-i7e_s3oh 2020-07-03T09:31:01,502 1 location(s) to search for versions of decanter-ai-core-sdk: 2020-07-03T09:31:01,502 * https://pypi.org/simple/decanter-ai-core-sdk/ 2020-07-03T09:31:01,502 Fetching project page and analyzing links: https://pypi.org/simple/decanter-ai-core-sdk/ 2020-07-03T09:31:01,503 Getting page https://pypi.org/simple/decanter-ai-core-sdk/ 2020-07-03T09:31:01,506 Found index url https://pypi.org/simple 2020-07-03T09:31:01,701 Skipping link: No binaries permitted for decanter-ai-core-sdk: https://files.pythonhosted.org/packages/73/b3/4cc7aba59d9687be1a2a35735c64d6ec2ffca4aee9f029d1e8730c22750f/decanter_ai_core_sdk-0.0.0-py3-none-any.whl#sha256=9d11d25c2fc55dc6b4c9f3368affdc7444d832cea090ace7d5fd5ba9a86c9d18 (from https://pypi.org/simple/decanter-ai-core-sdk/) (requires-python:>=3.7) 2020-07-03T09:31:01,702 Found link https://files.pythonhosted.org/packages/31/7a/48a5a7117318df81ae293c13735c8447f2e8de910f9fa9bccc411abe543e/decanter-ai-core-sdk-1.0.0.tar.gz#sha256=7e1305714f9f85fa0187e4cdd4805ff48f01b507fe1f0d394ce0e41063ad500d (from https://pypi.org/simple/decanter-ai-core-sdk/) (requires-python:>=3.7), version: 1.0.0 2020-07-03T09:31:01,703 Skipping link: No binaries permitted for decanter-ai-core-sdk: https://files.pythonhosted.org/packages/36/66/fcadb58c9cf899f92f31a4ca948809ad210e85115ba2c925c8ff80ff2556/decanter_ai_core_sdk-1.0.0-py3-none-any.whl#sha256=8d16c456a59d6d156c1f0d6c6ba98acbafda4b880187397873e45ca35a57d0d3 (from https://pypi.org/simple/decanter-ai-core-sdk/) (requires-python:>=3.7) 2020-07-03T09:31:01,710 Given no hashes to check 1 links for project 'decanter-ai-core-sdk': discarding no candidates 2020-07-03T09:31:01,711 Using version 1.0.0 (newest of versions: 1.0.0) 2020-07-03T09:31:01,717 Collecting decanter-ai-core-sdk==1.0.0 2020-07-03T09:31:01,721 Created temporary directory: /tmp/pip-unpack-xo0q5w2n 2020-07-03T09:31:01,936 Downloading decanter-ai-core-sdk-1.0.0.tar.gz (2.2 kB) 2020-07-03T09:31:02,006 Added decanter-ai-core-sdk==1.0.0 from https://files.pythonhosted.org/packages/31/7a/48a5a7117318df81ae293c13735c8447f2e8de910f9fa9bccc411abe543e/decanter-ai-core-sdk-1.0.0.tar.gz#sha256=7e1305714f9f85fa0187e4cdd4805ff48f01b507fe1f0d394ce0e41063ad500d to build tracker '/tmp/pip-req-tracker-fjv9yzbp' 2020-07-03T09:31:02,009 Running setup.py (path:/tmp/pip-wheel-i7e_s3oh/decanter-ai-core-sdk/setup.py) egg_info for package decanter-ai-core-sdk 2020-07-03T09:31:02,011 Created temporary directory: /tmp/pip-pip-egg-info-wyz7fozi 2020-07-03T09:31:02,012 Running command python setup.py egg_info 2020-07-03T09:31:03,893 [![PyPI version](https://badge.fury.io/py/decanter-ai-core-sdk.svg)](https://pypi.org/project/decanter-ai-core-sdk/) 2020-07-03T09:31:03,894 [![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/MoBagel/decanter-ai-core-sdk) 2020-07-03T09:31:03,895 # MoBagel Decanter AI Core SDK 2020-07-03T09:31:03,896 Decanter AI Core SDK allows you to call Decanter's API with more easy-to-use 2020-07-03T09:31:03,896 functions in Python. 2020-07-03T09:31:03,897 It makes actions such like upload data, train models, predict results run more 2020-07-03T09:31:03,897 efficiently and handles hard to get results more accessible. It also supports 2020-07-03T09:31:03,898 running in jupyter notebook. 2020-07-03T09:31:03,899 ## Installing 2020-07-03T09:31:03,899 Install and update using pip: 2020-07-03T09:31:03,899 ```bash 2020-07-03T09:31:03,900 pip install decanter-ai-core-sdk 2020-07-03T09:31:03,900 ``` 2020-07-03T09:31:03,901 ## Simple Example 2020-07-03T09:31:03,901 ```python 2020-07-03T09:31:03,902 from decanter import core 2020-07-03T09:31:03,903 core.enable_default_logger() 2020-07-03T09:31:03,903 context = core.Context.create( 2020-07-03T09:31:03,903 username='{usr}', password='{pwd}', host='{decanter-core-server}') 2020-07-03T09:31:03,904 client = core.CoreClient() 2020-07-03T09:31:03,905 train_file = open(train_file_path , 'r') 2020-07-03T09:31:03,905 train_data = client.upload(file=train_file, name="train") 2020-07-03T09:31:03,906 # In jupyter notebook just run the block no need to call context.run() 2020-07-03T09:31:03,906 context.run() 2020-07-03T09:31:03,907 train_data.show() 2020-07-03T09:31:03,908 ``` 2020-07-03T09:31:03,909 ```bash 2020-07-03T09:31:03,909 $ python -m path_to_file.file 2020-07-03T09:31:03,909 15:50:09 [ INFO] [Context] no event loop to close 2020-07-03T09:31:03,910 15:50:09 [ INFO] [Context] connect healty :) 2020-07-03T09:31:03,910 Progress UploadTask_train: 55%|█████████████████████████████████████████ 2020-07-03T09:31:03,911 ``` 2020-07-03T09:31:03,912 ## Contributing 2020-07-03T09:31:03,912 For guidance on setting up a development environment and how to make a 2020-07-03T09:31:03,913 contribution to Decanter AI Core SDK, see the contributing guidelines. 2020-07-03T09:31:03,914 ## Links 2020-07-03T09:31:03,914 For details on design, guidance on setting up a development environment and 2020-07-03T09:31:03,915 how to make a contribution to MoBagel Decanter Core SDK. 2020-07-03T09:31:03,916 * Code: https://github.com/MoBagel/decanter-ai-core-sdk 2020-07-03T09:31:03,916 running egg_info 2020-07-03T09:31:03,917 creating /tmp/pip-pip-egg-info-wyz7fozi/decanter_ai_core_sdk.egg-info 2020-07-03T09:31:03,917 writing /tmp/pip-pip-egg-info-wyz7fozi/decanter_ai_core_sdk.egg-info/PKG-INFO 2020-07-03T09:31:03,918 writing dependency_links to /tmp/pip-pip-egg-info-wyz7fozi/decanter_ai_core_sdk.egg-info/dependency_links.txt 2020-07-03T09:31:03,918 writing requirements to /tmp/pip-pip-egg-info-wyz7fozi/decanter_ai_core_sdk.egg-info/requires.txt 2020-07-03T09:31:03,919 writing top-level names to /tmp/pip-pip-egg-info-wyz7fozi/decanter_ai_core_sdk.egg-info/top_level.txt 2020-07-03T09:31:03,920 writing manifest file '/tmp/pip-pip-egg-info-wyz7fozi/decanter_ai_core_sdk.egg-info/SOURCES.txt' 2020-07-03T09:31:03,927 reading manifest file '/tmp/pip-pip-egg-info-wyz7fozi/decanter_ai_core_sdk.egg-info/SOURCES.txt' 2020-07-03T09:31:03,937 writing manifest file '/tmp/pip-pip-egg-info-wyz7fozi/decanter_ai_core_sdk.egg-info/SOURCES.txt' 2020-07-03T09:31:04,043 Source in /tmp/pip-wheel-i7e_s3oh/decanter-ai-core-sdk has version 1.0.0, which satisfies requirement decanter-ai-core-sdk==1.0.0 from https://files.pythonhosted.org/packages/31/7a/48a5a7117318df81ae293c13735c8447f2e8de910f9fa9bccc411abe543e/decanter-ai-core-sdk-1.0.0.tar.gz#sha256=7e1305714f9f85fa0187e4cdd4805ff48f01b507fe1f0d394ce0e41063ad500d 2020-07-03T09:31:04,044 Removed decanter-ai-core-sdk==1.0.0 from https://files.pythonhosted.org/packages/31/7a/48a5a7117318df81ae293c13735c8447f2e8de910f9fa9bccc411abe543e/decanter-ai-core-sdk-1.0.0.tar.gz#sha256=7e1305714f9f85fa0187e4cdd4805ff48f01b507fe1f0d394ce0e41063ad500d from build tracker '/tmp/pip-req-tracker-fjv9yzbp' 2020-07-03T09:31:04,049 Building wheels for collected packages: decanter-ai-core-sdk 2020-07-03T09:31:04,058 Created temporary directory: /tmp/pip-wheel-8eq0q7zd 2020-07-03T09:31:04,059 Building wheel for decanter-ai-core-sdk (setup.py): started 2020-07-03T09:31:04,059 Destination directory: /tmp/pip-wheel-8eq0q7zd 2020-07-03T09:31:04,060 Running command /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-i7e_s3oh/decanter-ai-core-sdk/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-i7e_s3oh/decanter-ai-core-sdk/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-8eq0q7zd 2020-07-03T09:31:05,550 [![PyPI version](https://badge.fury.io/py/decanter-ai-core-sdk.svg)](https://pypi.org/project/decanter-ai-core-sdk/) 2020-07-03T09:31:05,551 [![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/MoBagel/decanter-ai-core-sdk) 2020-07-03T09:31:05,552 # MoBagel Decanter AI Core SDK 2020-07-03T09:31:05,553 Decanter AI Core SDK allows you to call Decanter's API with more easy-to-use 2020-07-03T09:31:05,553 functions in Python. 2020-07-03T09:31:05,554 It makes actions such like upload data, train models, predict results run more 2020-07-03T09:31:05,554 efficiently and handles hard to get results more accessible. It also supports 2020-07-03T09:31:05,555 running in jupyter notebook. 2020-07-03T09:31:05,556 ## Installing 2020-07-03T09:31:05,556 Install and update using pip: 2020-07-03T09:31:05,556 ```bash 2020-07-03T09:31:05,557 pip install decanter-ai-core-sdk 2020-07-03T09:31:05,557 ``` 2020-07-03T09:31:05,558 ## Simple Example 2020-07-03T09:31:05,558 ```python 2020-07-03T09:31:05,559 from decanter import core 2020-07-03T09:31:05,560 core.enable_default_logger() 2020-07-03T09:31:05,560 context = core.Context.create( 2020-07-03T09:31:05,560 username='{usr}', password='{pwd}', host='{decanter-core-server}') 2020-07-03T09:31:05,561 client = core.CoreClient() 2020-07-03T09:31:05,562 train_file = open(train_file_path , 'r') 2020-07-03T09:31:05,562 train_data = client.upload(file=train_file, name="train") 2020-07-03T09:31:05,563 # In jupyter notebook just run the block no need to call context.run() 2020-07-03T09:31:05,563 context.run() 2020-07-03T09:31:05,564 train_data.show() 2020-07-03T09:31:05,564 ``` 2020-07-03T09:31:05,565 ```bash 2020-07-03T09:31:05,566 $ python -m path_to_file.file 2020-07-03T09:31:05,566 15:50:09 [ INFO] [Context] no event loop to close 2020-07-03T09:31:05,567 15:50:09 [ INFO] [Context] connect healty :) 2020-07-03T09:31:05,567 Progress UploadTask_train: 55%|█████████████████████████████████████████ 2020-07-03T09:31:05,567 ``` 2020-07-03T09:31:05,568 ## Contributing 2020-07-03T09:31:05,569 For guidance on setting up a development environment and how to make a 2020-07-03T09:31:05,569 contribution to Decanter AI Core SDK, see the contributing guidelines. 2020-07-03T09:31:05,571 ## Links 2020-07-03T09:31:05,571 For details on design, guidance on setting up a development environment and 2020-07-03T09:31:05,571 how to make a contribution to MoBagel Decanter Core SDK. 2020-07-03T09:31:05,572 * Code: https://github.com/MoBagel/decanter-ai-core-sdk 2020-07-03T09:31:05,878 running bdist_wheel 2020-07-03T09:31:05,892 running build 2020-07-03T09:31:05,902 installing to build/bdist.linux-armv7l/wheel 2020-07-03T09:31:05,902 running install 2020-07-03T09:31:05,904 running install_egg_info 2020-07-03T09:31:05,943 running egg_info 2020-07-03T09:31:05,944 writing src/decanter_ai_core_sdk.egg-info/PKG-INFO 2020-07-03T09:31:05,949 writing dependency_links to src/decanter_ai_core_sdk.egg-info/dependency_links.txt 2020-07-03T09:31:05,954 writing requirements to src/decanter_ai_core_sdk.egg-info/requires.txt 2020-07-03T09:31:05,956 writing top-level names to src/decanter_ai_core_sdk.egg-info/top_level.txt 2020-07-03T09:31:05,964 reading manifest file 'src/decanter_ai_core_sdk.egg-info/SOURCES.txt' 2020-07-03T09:31:05,976 writing manifest file 'src/decanter_ai_core_sdk.egg-info/SOURCES.txt' 2020-07-03T09:31:05,983 Copying src/decanter_ai_core_sdk.egg-info to build/bdist.linux-armv7l/wheel/decanter_ai_core_sdk-1.0.0-py3.7.egg-info 2020-07-03T09:31:06,009 running install_scripts 2020-07-03T09:31:06,186 creating build/bdist.linux-armv7l/wheel/decanter_ai_core_sdk-1.0.0.dist-info/WHEEL 2020-07-03T09:31:06,191 creating '/tmp/pip-wheel-8eq0q7zd/decanter_ai_core_sdk-1.0.0-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2020-07-03T09:31:06,196 adding 'decanter_ai_core_sdk-1.0.0.dist-info/METADATA' 2020-07-03T09:31:06,198 adding 'decanter_ai_core_sdk-1.0.0.dist-info/WHEEL' 2020-07-03T09:31:06,200 adding 'decanter_ai_core_sdk-1.0.0.dist-info/top_level.txt' 2020-07-03T09:31:06,200 adding 'decanter_ai_core_sdk-1.0.0.dist-info/RECORD' 2020-07-03T09:31:06,202 removing build/bdist.linux-armv7l/wheel 2020-07-03T09:31:06,325 Building wheel for decanter-ai-core-sdk (setup.py): finished with status 'done' 2020-07-03T09:31:06,329 Created wheel for decanter-ai-core-sdk: filename=decanter_ai_core_sdk-1.0.0-py3-none-any.whl size=2130 sha256=4584af7c0692b712b535bbebec6f9de4245972cfaa194dc6d95cb1e9727c26c6 2020-07-03T09:31:06,330 Stored in directory: /tmp/pip-ephem-wheel-cache-tk5ogpna/wheels/a6/4e/7b/f2b9ed60a1ebedeff52a203c3ed44c725f2595a7760857b7af 2020-07-03T09:31:06,334 Successfully built decanter-ai-core-sdk 2020-07-03T09:31:06,340 Removed build tracker: '/tmp/pip-req-tracker-fjv9yzbp'