graph2mat.tools.cli.request

Functions

avail_models([host, port, url])

Shows the models available in the server.

predict(geometry, output, model[, local, ...])

Predict the matrix for a given geometry.

graph2mat.tools.cli.request.avail_models(host: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7fa03506db10>] = 'localhost', port: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7fa03506eb50>] = 56000, url: ~typing.Annotated[str | None, <typer.models.OptionInfo object at 0x7fa03506c290>] = None)[source]

Shows the models available in the server.

graph2mat.tools.cli.request.predict(geometry: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7fa03506ee50>], output: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7fa03506c910>], model: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7fa03506c450>], local: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fa03506dd90>] = False, host: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7fa03506e350>] = 'localhost', port: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7fa035009710>] = 56000, url: ~typing.Annotated[str | None, <typer.models.OptionInfo object at 0x7fa035009e90>] = None)[source]

Predict the matrix for a given geometry.