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

Uploaded Source

Built Distribution

ipyparallel-8.6.1-py3-none-any.whl (298.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ipyparallel-8.6.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.6.1.tar.gz
Algorithm Hash digest
SHA256 a39aa5ef9560170bf0e9afedca9ff045e1b9c1832c49303377edcc91cea9fb77
MD5 7c3f3e75680ef31bb5d6ad5781eb04c7
BLAKE2b-256 f088d1cf7f462ecda78dcbccec4df3fc5ab504770cd67f199fca8662d7036634

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ipyparallel-8.6.1-py3-none-any.whl
  • Upload date:
  • Size: 298.1 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.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 39324d481759f74c9be4fb0deb025d446de6246f08fb81490443c9f55e2f056c
MD5 fa0c4658f72823c45f89447b053f94a1
BLAKE2b-256 937a39cfad289aef9f7b32617e078f30b4cc7d7a04d2063e60b613c8d3c7fad3

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