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.7.0.tar.gz (6.8 MB view details)

Uploaded Source

Built Distribution

ipyparallel-8.7.0-py3-none-any.whl (292.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ipyparallel-8.7.0.tar.gz
  • Upload date:
  • Size: 6.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for ipyparallel-8.7.0.tar.gz
Algorithm Hash digest
SHA256 403c0971ae56c2b6a39ffe8f35f31c7fd170ce127924629459cdd7f7a0b4e7c3
MD5 d0aaa87054cb9e7cee163849e718ee47
BLAKE2b-256 04600ebec65667dd1211453779283eb7066a6ae8ebadb2cd8d786f648acde1bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ipyparallel-8.7.0-py3-none-any.whl
  • Upload date:
  • Size: 292.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for ipyparallel-8.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7748d0ca42b5ac04374316846df4858bd8f495fff58536d91d988ed367eb1c3c
MD5 866d5214e54c22c1c514d5533e456556
BLAKE2b-256 329729b4090f8dd4735be31ac7b30855b48661f74d67655d74cf58e3946bd68c

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