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

Uploaded Source

Built Distribution

ipyparallel-7.1.0-py3-none-any.whl (391.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ipyparallel-7.1.0.tar.gz
  • Upload date:
  • Size: 4.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for ipyparallel-7.1.0.tar.gz
Algorithm Hash digest
SHA256 ea756df0d2485bac19cccb0dbf4cafbc855c922b9b5905b4906e6cfac8b3c648
MD5 03e781da07fb8292429dcb018f2466ef
BLAKE2b-256 693455080ba51fb392ee69a755ae8c4bffcd590280dfa625b733b4083f0fdaa0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ipyparallel-7.1.0-py3-none-any.whl
  • Upload date:
  • Size: 391.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for ipyparallel-7.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d72496c1e75e6d26636117b33d3770b66d46b99c2421412676656ca957933ee3
MD5 c36e45c6fce0d2eda043dfe3106dcc2c
BLAKE2b-256 8dc539e862edc26bbaf6973575c20a243705788156d3b1a5657a16eb565ebe54

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