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.2.1.tar.gz
(11.3 kB
view hashes)
Built Distribution
Close
Hashes for cook_client_api-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66182d25ca46cebedeea577366721f4ce65e1ef18ed4234c3cdf8709b2c488dd |
|
MD5 | f0820bbf58a011f2af5491199ab66831 |
|
BLAKE2b-256 | b1e27534711ecf9c3807d650cb894c6a97a1a104d4e3f40eb208e08e8b5ed8ed |