2. Client

Any Python environment can be an xGT client. One convenient strategy is to set up a laptop to run the client by installing either a Python command line or a Jupyter Notebook environment such as Anaconda.

The first step in any Python script is to import the xgt module. Once imported, the client will need to establish a connection to an xGT server.

Setup and Python scripting guidance will come later. For now, it is important to understand that interacting with the server is done via the xgt module. Querying and manipulating data on the server is accomplished by building TQL queries and sending them to the server using this xgt module.

Small amounts of data that can fit into the client machine’s memory may be retrieved from the server. This is useful when small amounts of data from query results would benefit from further analysis with some other analytics tool.