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
Release history Release notifications | RSS feed
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 details)
File details
Details for the file maestro-cli-1.0.10.tar.gz.
File metadata
- Download URL: maestro-cli-1.0.10.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.24.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/2.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6d3cb8463c9be381d2487c3ef4f694c49fb86f0b90d31af18353aede0783982
|
|
| MD5 |
af7eecc1222a748433011f5352b2f3c2
|
|
| BLAKE2b-256 |
dc14f95fb8e830c4fc709f9b637330c36ea176436192de1ed60b444748c742f4
|