Skip to content

Add simple class that serves localhost in a thread

Tobias Hangleiter requested to merge feature/ui/webserver_thread into master

Useful to show the qcodes monitor without having to either run a subprocess or from the command line.

Example:

import qcodes
from qutil.ui import ThreadedWebserver
 
monitor = qcodes.Monitor(*params)
server = ui.ThreadedWebserver(qcodes_monitor_mode=True)
server.show()

Nb: goes nicely together with Firefox Side View

Merge request reports