Skip to main content

Client for Starter Server API

None

Project description

Install

pip install starter_api

Usage

import starter_api

starter_api.init("http://HOST:PORT")

# simple build and submit task to server
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

None

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.0.3.tar.gz (3.1 kB view hashes)

Uploaded Source

Supported by

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