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

Uploaded Source

Built Distribution

ipyparallel-8.2.0-py3-none-any.whl (297.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ipyparallel-8.2.0.tar.gz
  • Upload date:
  • Size: 9.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for ipyparallel-8.2.0.tar.gz
Algorithm Hash digest
SHA256 0fd9f64a5120980a89b64299806c12bb8df8ceea155e5200b705301eb2401e19
MD5 fa6ac256d9d5da44db9ad2039974de32
BLAKE2b-256 e62798b267873b5e3f26c964c5ce1dea971d70dc275f0f9c3dca2f6c50d16499

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ipyparallel-8.2.0-py3-none-any.whl
  • Upload date:
  • Size: 297.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for ipyparallel-8.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1fdedc8b83e537e67789d76d9c14684f5dde0e559d31b3dc5584232c4e33c1ab
MD5 43de7a81e8a6a81f4ac71e43e93a9dd3
BLAKE2b-256 587063bff3c813941777529988b8b940c0de282e87f1acd863b5ecbe05669cb3

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