tiled.client.from_uri(uri, structure_clients='numpy', *, cache=None, offline=False, username=None, token_cache='/home/runner/.config/tiled/tokens', verify=True, authentication_uri=None, prompt_for_reauthentication=PromptForReauthentication.AT_INIT, headers=None)[source]

Connect to a Node on a local or remote server.


e.g. “http://localhost:8000

structure_clientsstr or dict, optional

Use “dask” for delayed data loading and “numpy” for immediate in-memory structures (e.g. normal numpy arrays, pandas DataFrames). For advanced use, provide dict mapping a structure_family or a spec to a client object.

cacheCache, optional
offlinebool, optional

False by default. If True, rely on cache only.

usernamestr, optional

Username for authenticated access.

token_cachestr, optional

Path to directory for storing refresh tokens.

verifybool, optional

Verify SSL certifications. True by default. False is insecure, intended for development and testing only.

authentication_uristr, optional

URL of authentication server

prompt_for_reauthentication{“at_init”, “always”, “never”}
headersdict, optional

Extra HTTP headers.