xgt.connect

xgt.connect(host='127.0.0.1', port=4367, local=False, debug=False, key_id='', secret_key='')

Connect to a running xGT server.

Parameters:
host : str

IP address of the computer where the server is running.

port : int

Port where the server is listening on.

local: boolean

Use Unix domain sockets to connect to a server on the same machine.

debug : boolean

Run the server in debug mode.

key_id : str

AWS Access Key ID.

secret_key : str

AWS Secret Access Key corresponding to the AWS Access Key ID.

Returns:
Service

An object representing the connection to the server.