Skip to main content

Launch and monitor Maestro JobRequest in few lines of code.

Project description

Launch Maestro JobRequest with ease.

Exemple :

>>> from maestro_cli import Maestro
>>>
>>> maestro = Maestro()
>>> maestro.launch_jobrequest(82, {'A': 1, 'B': 3, 'C': 2})
<JobRequest #1877>
>>> maestro = Maestro('http://localhost:8003', '9354a3fe-e1ec-499d-9402-bbef0d700487', 'BeHive')
>>> request = maestro.get_jobrequest(414)
>>> request.progress
45.0
>>> request.status_label
En cours
>>> request.cancel()
>>> 200

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

maestro-cli-1.0.10.tar.gz (3.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page