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

Uploaded Source

Built Distribution

ipyparallel-8.8.0-py3-none-any.whl (293.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ipyparallel-8.8.0.tar.gz
  • Upload date:
  • Size: 6.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for ipyparallel-8.8.0.tar.gz
Algorithm Hash digest
SHA256 2404d59f86a3aaa3bd27bf6b57df777bff5c1363c1c6e60403759d16ed42dc7b
MD5 2a50cff453f59ea4b95a3e61ff394fbf
BLAKE2b-256 6063b6ebb112f1605fdfcda33e8ab8a54ce3ca494ba20718c8397520fc556be1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ipyparallel-8.8.0-py3-none-any.whl
  • Upload date:
  • Size: 293.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for ipyparallel-8.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d2db60fd8baea09e02e7a13a761e1798868c0a717e3e2fa8fb52ffc037cccd35
MD5 419b7e0134a1bb936f4d4007f36a473a
BLAKE2b-256 5b110dc00c1f8452a9ee4daa5f19baf767e5ed1d79d552dd8d5d43afddfc82e1

See more details on using hashes here.

Supported by

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