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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipyparallel-8.1.0-py3-none-any.whl (296.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ipyparallel-8.1.0.tar.gz
  • Upload date:
  • Size: 9.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for ipyparallel-8.1.0.tar.gz
Algorithm Hash digest
SHA256 63f7e136e88f890e9802522fa5475dd81e7614ba06a8cfe4f80cc3056fdb7d73
MD5 bfb2747f2c1ebf40b16207eaa7da3f98
BLAKE2b-256 d194554630b21f4180b05b956528aba69bf0d406346868945edcced8033e9806

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ipyparallel-8.1.0-py3-none-any.whl
  • Upload date:
  • Size: 296.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for ipyparallel-8.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 83bdbfe1f9dc6c3487aaa645dbba1a4effa9101e14e255f3291b862cc0d696cf
MD5 e4b253d76d1f8cc7f69e68d170f4e591
BLAKE2b-256 84cf863e9ec04057a6033e78e2c64ab06ae85e849e3e0b0903c7005cbe56ac93

See more details on using hashes here.

Supported by

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