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-7.0.0b1.tar.gz (3.8 MB view details)

Uploaded Source

Built Distribution

ipyparallel-7.0.0b1-py3-none-any.whl (301.0 kB view details)

Uploaded Python 3

File details

Details for the file ipyparallel-7.0.0b1.tar.gz.

File metadata

  • Download URL: ipyparallel-7.0.0b1.tar.gz
  • Upload date:
  • Size: 3.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11

File hashes

Hashes for ipyparallel-7.0.0b1.tar.gz
Algorithm Hash digest
SHA256 b4631fe3ff992a00dbe4176b73067513b3bfc39297a1ad397a9a82be0967a657
MD5 87cb7ccb2ebdc25c30565a1542761d9f
BLAKE2b-256 9ccd431a27a56c9f4a0c54fa146ec5a41f4c4079cfba2f4525278f0376072000

See more details on using hashes here.

File details

Details for the file ipyparallel-7.0.0b1-py3-none-any.whl.

File metadata

  • Download URL: ipyparallel-7.0.0b1-py3-none-any.whl
  • Upload date:
  • Size: 301.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11

File hashes

Hashes for ipyparallel-7.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 f3fd028296f5810da243ef35eb24c15f8ad4b9d23983457da830758654e4ab89
MD5 aad990e6ba1e98da64490a539dd08d51
BLAKE2b-256 28add85cbc07af7b39590be684111e6a5918759dde61a55050d5d3bed4de6555

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