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
Release history Release notifications | RSS feed
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.1.tar.gz
(4.0 MB
view hashes)
Built Distribution
ipyparallel-7.0.1-py3-none-any.whl
(384.6 kB
view hashes)
Close
Hashes for ipyparallel-7.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc881c70ed43bb61edeb34a3a0ef59da7f95ae5f926fdbf9f8ee70249fdbd284 |
|
MD5 | a90389964ce40b8c00783a4b295e0c2a |
|
BLAKE2b-256 | 8869393d989adf5086a3e724159d762f20cbfdcd31fbf3d6e0ec65647c90f55b |