Client API#

class dataclay.Client(host=None, port=None, username=None, password=None, dataset=None, local_backend=None)[source]#

Client API for dataClay.

Usually you create client instance and call start() method to initialize it.

from dataclay import client client = dataclay.client(host=”127.0.0.1”, username=”testuser”, password=”s3cret”, dataset=”testuser”)

get_backends() dict[slice(<class 'uuid.UUID'>, <class 'dataclay.backend.client.BackendClient'>, None)][source]#

Return a dictionary of backends clients.

start()[source]#

Initialize the client API.

Note that after a successful call to this method, subsequent calls will be a no-operation.

stop()[source]#

Finish the client API.