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

Uploaded Source

Built Distribution

ipyparallel-7.0.0b3-py3-none-any.whl (384.7 kB view details)

Uploaded Python 3

File details

Details for the file ipyparallel-7.0.0b3.tar.gz.

File metadata

  • Download URL: ipyparallel-7.0.0b3.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.2 CPython/3.8.11

File hashes

Hashes for ipyparallel-7.0.0b3.tar.gz
Algorithm Hash digest
SHA256 24aa2a0786f7b414b23a960f8d511ab2cf1cb46c85eea32a80af62d60b3bd0ad
MD5 019c15c3777adf82bff0160ed7705817
BLAKE2b-256 568545af88c81da0dde2f99e41d561fb11603df72ceb2a8f87592d33467efe93

See more details on using hashes here.

File details

Details for the file ipyparallel-7.0.0b3-py3-none-any.whl.

File metadata

  • Download URL: ipyparallel-7.0.0b3-py3-none-any.whl
  • Upload date:
  • Size: 384.7 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.2 CPython/3.8.11

File hashes

Hashes for ipyparallel-7.0.0b3-py3-none-any.whl
Algorithm Hash digest
SHA256 256359b86c4c044c609f90d487c1cba29522080fcfc607ba5a3fcc16287a12f8
MD5 eedce0d645b1bf462f0c4c1b84c4515d
BLAKE2b-256 d594f69fe152e85949dfa5516fd4d87c31304d5e128e56dcf1f18bc07c3d7d60

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