/ipyparallel

Interactive Parallel Computing in Python

Primary LanguagePythonOtherNOASSERTION

Interactive Parallel Computing with IPython

ipyparallel is the new home of IPython.parallel.

Install

Install ipyparallel:

pip install ipyparallel

To install the IPython Clusters tab in Jupyter Notebook, add this to your jupyter_notebook_config.py:

c.NotebookApp.server_extensions.append('ipyparallel.nbextension')

See the documentation on configuring the notebook server to find your config or setup your initial jupyter_notebook_config.py.

Run

Start a cluster:

ipcluster start

Use it from Python:

import os
import ipyparallel as ipp

rc = ipp.Client()
ar = rc[:].apply_async(os.getpid)
pid_map = ar.get_dict()

See the docs for more info.