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 0x7f51e707c050>] = 'localhost', port: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f51e7075790>] = 56000, url: ~typing.Annotated[str | None, <typer.models.OptionInfo object at 0x7f51e7074590>] = None)[source]

Shows the models available in the server.

graph2mat.tools.cli.request.predict(geometry: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7f51e7076a10>], output: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7f51e7075010>], model: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7f51e7075390>], local: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f51e7075410>] = False, host: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7f51e7075690>] = 'localhost', port: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f51e70756d0>] = 56000, url: ~typing.Annotated[str | None, <typer.models.OptionInfo object at 0x7f51e7075590>] = None)[source]

Predict the matrix for a given geometry.