start_ipython_workers(self, workers=None, magic_names=False, qtconsole=False, qtconsole_args=None)
A list of worker addresses, defaults to all
If defined, register IPython magics with these names for executing code on the workers. If string has asterix then expand asterix into 0, 1, ..., n for n workers
If True, launch a Jupyter QtConsole connected to the worker(s).
Additional arguments to pass to the qtconsole on startup.
List of connection_info dicts containing info necessary to connect Jupyter clients to the workers.
Start IPython kernels on workers
Client.start_ipython_scheduler
start ipython on the scheduler
>>> info = c.start_ipython_workers() # doctest: +SKIPThis example does not not appear to be valid Python Syntax
... %remote info['192.168.1.101:5752'] worker.data # doctest: +SKIP {'x': 1, 'y': 100}
>>> c.start_ipython_workers('192.168.1.101:5752', magic_names='w') # doctest: +SKIPThis example is valid syntax, but we were not able to check execution
... %w worker.data # doctest: +SKIP {'x': 1, 'y': 100}
>>> c.start_ipython_workers('192.168.1.101:5752', qtconsole=True) # doctest: +SKIP
Add asterix * in magic names to add one magic per worker
This example does not not appear to be valid Python Syntax>>> c.start_ipython_workers(magic_names='w_*') # doctest: +SKIPThis example does not not appear to be valid Python Syntax
... %w_0 worker.data # doctest: +SKIP {'x': 1, 'y': 100}
>>> %w_1 worker.data # doctest: +SKIP {'z': 5}See :
The following pages refer to to this document either explicitly or contain code examples using this.
distributed.client.Client.start_ipython_scheduler
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them