Skip to main content

Cook Scheduler Client API for Python

Project description

The Cook Scheduler Python Client API

This package defines a client API for Cook Scheduler, allowing Python applications to easily integrate with Cook.


The code below shows how to use the client API to connect to a Cook cluster listening on localhost:12321, submit a job to the cluster, and query its information.

from cookclient import JobClient

client = JobClient('localhost:12321')

uuid = client.submit(command='ls')
job = client.query(uuid)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cook-client-api, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size cook_client_api-0.2.1-py3-none-any.whl (14.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size cook-client-api-0.2.1.tar.gz (11.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page