Skip to content

ipython/ipyparallel

Folders and files

NameName
Last commit message
Last commit date
Dec 8, 2021
Apr 16, 2025
Feb 4, 2025
Oct 28, 2024
Mar 3, 2025
Mar 4, 2025
May 15, 2022
Sep 4, 2023
Oct 19, 2018
Aug 6, 2021
Sep 4, 2023
Sep 4, 2023
Apr 3, 2015
Apr 7, 2025
Aug 6, 2021
Sep 4, 2023
Aug 6, 2021
Apr 14, 2021
Aug 6, 2021
Oct 10, 2021
Jul 1, 2021
Feb 5, 2024
Aug 6, 2021
Apr 16, 2025
Mar 3, 2025
Mar 30, 2023
Apr 7, 2022
Mar 3, 2025
Apr 16, 2025

Repository files navigation

Interactive Parallel Computing with IPython

IPython Parallel (ipyparallel) is a Python package and collection of CLI scripts for controlling clusters of IPython processes, built on the Jupyter protocol.

IPython Parallel provides the following commands:

  • ipcluster - start/stop/list clusters
  • ipcontroller - start a controller
  • ipengine - start an engine

Install

Install IPython Parallel:

pip install ipyparallel

This will install and enable the IPython Parallel extensions for Jupyter Notebook and (as of 7.0) Jupyter Lab 3.0.

Run

Start a cluster:

ipcluster start

Use it from Python:

import os
import ipyparallel as ipp

cluster = ipp.Cluster(n=4)
with cluster as rc:
    ar = rc[:].apply_async(os.getpid)
    pid_map = ar.get_dict()

See the docs for more info.