labscript_utils.ls_zprocess

Functions

Event(*args, **kwargs)

Handler(*args, **kwargs)

Lock(*args, **kwargs)

RemoteProcessClient(host[, port])

connect_to_zlock_server()

ensure_connected_to_zlog()

Ensure we are connected to a zlog server.

get_config()

Get relevant options from LabConfig, substituting defaults where appropriate and return as a dict

zmq_get(*args, **kwargs)

zmq_get_multipart(*args, **kwargs)

zmq_get_raw(*args, **kwargs)

zmq_get_string(*args, **kwargs)

zmq_push(*args, **kwargs)

zmq_push_multipart(*args, **kwargs)

zmq_push_raw(*args, **kwargs)

zmq_push_string(*args, **kwargs)

Classes

Context([io_threads, shared_secret])

Subclass of zprocess.security.SecureContext configured with settings from labconfig, substitutable for a zmq.Context.

ProcessTree([shared_secret, allow_insecure, …])

A singleton zprocess.ProcessTree configured with settings from labconfig for security, zlock and zlog.

ZMQClient()

A singleton zprocess.ZMQClient configured with settings from labconfig for security.

ZMQServer([port, dtype, pull_only, …])

A ZMQServer configured with security settings from labconfig