Client for Starter Server API
Project description
Install
pip install starter_api
Usage
import starter_api
starter_api.init("http://HOST:PORT")
# simple build and submit task to server
res = starter_api.build_submit("YOUR_SERVICE", {"myparam": 1})
print('res = ' + str(res))
# build task object into variable and submit to server
task = starter_api.build_task("YOUR_SERVICE", {"myparam": 1})
res = starter_api.submit(task)
print('res = ' + str(res))
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
starter_api-0.1.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for starter_api-0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69db4ee9b416d685f06e158648e7fcb75921b71c6dc7d90f0014cc735206c281 |
|
MD5 | b68bcc4001d711db38a5ac72fae5871a |
|
BLAKE2b-256 | a4ae3395daa4cdba53c669a375531adc47def19466a8fcc28ddae58538328ccd |