This section contains a detailed description of the loudml command line interface(CLI). With version 1.6 and above you must install the loudml client separately using PyPI. Refer to installation instructions on Github

Running the loudml command with -h option in a terminal will output the following help message:

$ loudml -h

usage: loudml [-h] [-A ADDR] [-q] [--version] [-e EXECUTE]

    The Python client interface to Loud ML model servers.

optional arguments:
  -h, --help            show this help message and exit
  -A ADDR, --addr ADDR  Loud ML model server host and port to connect to.
  -q, --quiet           Quiet: no stdout
  --version             Display the version and exit.
  -e EXECUTE, --execute EXECUTE
                        Execute command and quit.


    # Use loudml in a non-interactive mode to output the two days forecast
    # for model "test-model" and pretty print the output:
    $ loudml --execute 'forecast-model -f now -t now+2d test-model'

    # Connect to a specific Loud ML model server:
    $ loudml --addr hostname:8077