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

Uploaded Source

Built Distribution

ipyparallel-9.0.1-py3-none-any.whl (306.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ipyparallel-9.0.1.tar.gz
Algorithm Hash digest
SHA256 2e592cad2200c5a94fbbff639bff36e6ec9122f34b36b2fc6b4d678d9e98f29c
MD5 7b5550c034361e76550d07817e6ed2f9
BLAKE2b-256 c58489881d3a43fba6e4e98f92722aa5c87e68b0d347f7bb66a8338627d60abd

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for ipyparallel-9.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc0702e26af416a1c35c73eb6dbc3a6a2c49417cb24dda4511be85c9fe87ea64
MD5 7bb9f0a6bd0cc68599aadd4c15424fdb
BLAKE2b-256 593ff1736d4771388d91db3af22e2aa07ca9af514744f40994adc8cb30675ac6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ipyparallel-9.0.1-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 Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page