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

Uploaded Source

Built Distribution

ipyparallel-9.0.0-py3-none-any.whl (306.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ipyparallel-9.0.0.tar.gz
  • Upload date:
  • Size: 4.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ipyparallel-9.0.0.tar.gz
Algorithm Hash digest
SHA256 70601cbaf9a169d350ffe22c82d5bbdfe6dfe4c4df02836d9990e9c559b5bcb6
MD5 62f95eeb8a885059502ebefe4bb89448
BLAKE2b-256 d4f605e91119bad61b9e10f8fdce687a93d50c372646e0a5332c19bc251faaf0

See more details on using hashes here.

Provenance

The following attestation bundles were made for ipyparallel-9.0.0.tar.gz:

Publisher: release.yml on ipython/ipyparallel

Attestations:

File details

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

File metadata

  • Download URL: ipyparallel-9.0.0-py3-none-any.whl
  • Upload date:
  • Size: 306.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ipyparallel-9.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4708097c078dab6af63858f8295139216487ef486191894b4f586c9c94a0fe5b
MD5 e376bdfeb10538360b9b8c1bbc3677c6
BLAKE2b-256 faff51e68fce94f24c1acc04eba801100fc770f0882222b68cb0ae5c1f8b5a2b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ipyparallel-9.0.0-py3-none-any.whl:

Publisher: release.yml on ipython/ipyparallel

Attestations:

Supported by

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