|
Hi, Thanks for your package, it looks awesome one the CLI ! I would be interested in a minimal working example with a server already started. Thanks |
Replies: 3 comments
|
Hi, we don't currently have a Rust API, nor C bindings that could be used from Rust. The easiest way right now would probably be to just spawn commands using the |
|
Hi, I think that the most simple way for the current version would be a compose a TOML file in Rust and call https://it4innovations.github.io/hyperqueue/stable/jobs/jobfile/ In longer perspective, we are planning to make some common API for submitting. Mainly because of simplify intermediate layer between HQ and Python, but if there is a usecase it should be posible to also provide it as a Rust crate. |
|
Thank you, I’ll run hq as a shell command for the time being :) |
Hi, we don't currently have a Rust API, nor C bindings that could be used from Rust. The easiest way right now would probably be to just spawn commands using the
hqbinary, and using the JSON output mode so that you can programmatically read the output.