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.2.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.2.0-py3-none-any.whl (309.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ipyparallel-9.2.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.13

File hashes

Hashes for ipyparallel-9.2.0.tar.gz
Algorithm Hash digest
SHA256 2b31bb4e94708e7ffb4ee6501d7f5f664df7e1c4c572e91e9e0d12484c6a6910
MD5 c09fdd3f91ea3699a4ec55e05188eed5
BLAKE2b-256 3d05f60bd7d99c1eace2d887e8d3c9cdef6b195826bcec866366fae8755e373f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ipyparallel-9.2.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.2.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for ipyparallel-9.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d62ffa1f7bb6372c325e4e59798d2ad4ef4c8a43fb7461b97adba7d7951cadd
MD5 88d218e26a586b884a70cc332adade78
BLAKE2b-256 302cebcf7b8ab6bad8667b3884a2d94f006898f75cc3e59f904a207b791529ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for ipyparallel-9.2.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