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-8.6.0.tar.gz
(6.8 MB
view hashes)
Built Distribution
ipyparallel-8.6.0-py3-none-any.whl
(297.9 kB
view hashes)
Close
Hashes for ipyparallel-8.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 820bc1c035192b5a80e6d9e8d4daeb5023b07ab6e1795f3f2eb9b4e56d3ce4e1 |
|
MD5 | 8f8e2a0a655b32eac87b705ae2b11e06 |
|
BLAKE2b-256 | 43ac66b3c14e4a69a1c9f013eaef655890d8f748f508b21d03a2c5d81893c497 |