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

Uploaded Source

Built Distribution

ipyparallel-8.2.1-py3-none-any.whl (297.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ipyparallel-8.2.1.tar.gz
  • Upload date:
  • Size: 9.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.12

File hashes

Hashes for ipyparallel-8.2.1.tar.gz
Algorithm Hash digest
SHA256 f267473c52fc6a886c6b816adb155bec0b277bc7d224fb3fabeb83834e733c72
MD5 05f6b8249dc9aa8557e7a5d02ed5ae36
BLAKE2b-256 917b635c2281cb4f68364aa706e0d8a779c2114114fb9873cc0378ebc9b3f35d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ipyparallel-8.2.1-py3-none-any.whl
  • Upload date:
  • Size: 297.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.12

File hashes

Hashes for ipyparallel-8.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8509448670cdc3c3961e29a827c6bdacbee29ee9c9e8c50f70032c8714f731fb
MD5 4d718cd611550a99a21695c284aa157b
BLAKE2b-256 4c7e7683845c9cabfd062f4f94aa0257737cc1d70c054eaeecacb4157c7703d4

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