Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

IPython Parallel: Interactive Parallel Computing in Python

License

Notifications You must be signed in to change notification settings

ipython/ipyparallel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

3,124 Commits

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.

About

IPython Parallel: Interactive Parallel Computing in Python

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

Contributors 102

AltStyle によって変換されたページ (->オリジナル) /