-
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 |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Thank you, I’ll run hq as a shell command for the time being :) |
Beta Was this translation helpful? Give feedback.
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
hq
binary, and using the JSON output mode so that you can programmatically read the output.