Skip to main content

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))

Release files for cook-client-api 0.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cook-client-api 0.3.5
File Size Uploaded
cook-client-api-0.3.5.tar.gz 13.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cook-client-api 0.3.5
File Interpreter ABI Platform
cook_client_api-0.3.5-py3-none-any.whl Python 3 none any Details

Total release size: 29.6 kB

Release files / cook-client-api-0.3.5.tar.gz

Download URL cook-client-api-0.3.5.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a6677613e5e361e2b062a38d0516b5f0506e1c4a9d609538126257d976ccda21
BLAKE2b-256 checksum
How to use checksums
b5a2b6d53ca47dc768141826a5d89ed31eb8dac277df566f0da465161676074a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.20.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.8

Release files / cook_client_api-0.3.5-py3-none-any.whl

Download URL cook_client_api-0.3.5-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
082a399f9ca2216be0a63769a8ee9816081b76ff40fbaa40d7d0565130eb9c40
BLAKE2b-256 checksum
How to use checksums
a76fe6a4d5b31a015a7f23c8bf709f444692413cce482dd8721b2d55ac79d638
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.20.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.8

Release history Release notifications | RSS feed

This release

0.3.5 This release

2 release files

0.3.4

1 release file

0.3.3

2 release files

0.3.1

3 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page