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.1.0.tar.gz (4.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-9.1.0-py3-none-any.whl (309.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ipyparallel-9.1.0.tar.gz
Algorithm Hash digest
SHA256 ecc81a1bfd2681eb571e361839d5defcbeec583ae3ee0503bc83b066106b88cd
MD5 b36c134aea4d519b16b83474d5f4ed5f
BLAKE2b-256 5117712b7a983bdd2ed4fc1f9a823d3182862dc0e2b7db1b64cb88c41fca683a

See more details on using hashes here.

Provenance

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

Publisher: release.yml on ipython/ipyparallel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: ipyparallel-9.1.0-py3-none-any.whl
  • Upload date:
  • Size: 309.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ipyparallel-9.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dff90d758b6f999e5803306cd1900e15029655b475d780989d8b2bf338730213
MD5 05f0c2f7e3e1ba606c8ed0294bf8492a
BLAKE2b-256 c3e2cceb6ef0765e24e5f66411559dad6a1a85f55f4bc8425592b0576f817c47

See more details on using hashes here.

Provenance

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

Publisher: release.yml on ipython/ipyparallel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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