How to run ezmsg in a Jupyter notebook?#

If you have an ezmsg pipeline defined in a Jupyter notebook, you can run it directly from the notebook as long as you call the ez.run() function with the optional keyword argument force_single_process=True:

ez.run(components=components, connections=connections, force_single_process=True)

Here the components are the units of your pipeline and the connections define how the components are connected (for more details, see Creating a pipeline).