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.1.0.tar.gz
(9.2 kB
view hashes)
Built Distribution
Close
Hashes for cook_client_api-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5289ca6493cad6d7ea5e2f166a406b842a489b0a9bcd087e58cedce242f900fc |
|
MD5 | 23485f45e489f03f319f6591ccead9a5 |
|
BLAKE2b-256 | 1d15e8da4613de8a796eae80e4c903fb796cc2a19debede51267fa2bb8b0e5f3 |