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.
Quickstart
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)
print(str(job))
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
cook-client-api-0.3.1.tar.gz
(12.4 kB
view hashes)
Built Distributions
cook_client_api-0.3.1-py3.8.egg
(35.0 kB
view hashes)
Close
Hashes for cook_client_api-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 797a55e736dbe667d971d7f449df36aaafe15aa6745e57b09c3020093ba18111 |
|
MD5 | 4035a1f880d373b2b992760ca61e490e |
|
BLAKE2b-256 | 6c98ba4a821169889933a621f9a6cd2b1d497151a3eba49c14e7377816f1077f |