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

Uploaded Source

Built Distribution

ipyparallel-8.5.1-py3-none-any.whl (297.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ipyparallel-8.5.1.tar.gz
  • Upload date:
  • Size: 6.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for ipyparallel-8.5.1.tar.gz
Algorithm Hash digest
SHA256 5563606ec43b89bdf05ee69a2aad1e3c63b4dca206116eefd6d9809e63ee1071
MD5 2c63f26d1e2f35fbcd91caf76c223fb3
BLAKE2b-256 1281233760a67cfe7f340b9d2cfdedec1ef870dd315beb5c51e6103dec21b780

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ipyparallel-8.5.1-py3-none-any.whl
  • Upload date:
  • Size: 297.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for ipyparallel-8.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 84b9a3567f40d5afcc67b6176944f51633b61cd0c92387d8b5fc0fbe584f0b07
MD5 176601623d9404fd82302732672084ce
BLAKE2b-256 168e82b620b794131b2688960fc88d760873ec1e3916666f066257047a738b42

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