Hydro CLI
The Hydro CLI is a library and command line tool for provisioning machines and launching distributed Hydro programs on them. Currently, only macOS/Linux are supported.
Installation
First, create a virtual environment and activate it:
Then, install Maturin:
Then, build the CLI for local use:
Usage
The CLI is a Python package that can be imported into other Python programs. It can also be used as a command line tool.
Command Line Tool
After building the CLI, it will be automatically available on your path in the virtual environment. To see the available commands, run:
Python Package
The deployment API can be imported into other Python programs. To use it, import the hydro package:
See test.hydro.py for an example of how to use the available APIs.