Skip to main content

Interactive Parallel Computing with IPython

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipyparallel-8.3.0.tar.gz (6.9 MB view details)

Uploaded Source

Built Distribution

ipyparallel-8.3.0-py3-none-any.whl (296.3 kB view details)

Uploaded Python 3

File details

Details for the file ipyparallel-8.3.0.tar.gz.

File metadata

  • Download URL: ipyparallel-8.3.0.tar.gz
  • Upload date:
  • Size: 6.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.12

File hashes

Hashes for ipyparallel-8.3.0.tar.gz
Algorithm Hash digest
SHA256 275d6d0c89c812679f0addc6a399bd75384bdf199ade12922d2ab3e2f7a99dc1
MD5 867a9eb4b83affd86ef94e6688125f8c
BLAKE2b-256 2ac96e1bef0aef78b3db6e2070d2c9a25d3184e74fad76a919ff6b82de8a1970

See more details on using hashes here.

File details

Details for the file ipyparallel-8.3.0-py3-none-any.whl.

File metadata

  • Download URL: ipyparallel-8.3.0-py3-none-any.whl
  • Upload date:
  • Size: 296.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.12

File hashes

Hashes for ipyparallel-8.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7f9e1e390522fc2ec20a80c2d621f7b7b85de3dd8c602c7f09c7760590bf1a40
MD5 c4f84ad028fbf80c6aab0795327dd1a7
BLAKE2b-256 89565ea1ae2d0c805f58dca8f041d61886c367fe5f18f541adcd168b216214ae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page