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.5.0.tar.gz
(6.8 MB
view details)
Built Distribution
ipyparallel-8.5.0-py3-none-any.whl
(297.7 kB
view details)
File details
Details for the file ipyparallel-8.5.0.tar.gz
.
File metadata
- Download URL: ipyparallel-8.5.0.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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
913e73d32902261e134cf2262a24a0872b947c2aecf0a11cd650458b23068544
|
|
MD5 |
7ec27e72c7d089f19da8c1892f54e188
|
|
BLAKE2b-256 |
06ab68092024e9e1a002936a263e57203b2e6bab2a5615851c6052f854a5bbd0
|
File details
Details for the file ipyparallel-8.5.0-py3-none-any.whl
.
File metadata
- Download URL: ipyparallel-8.5.0-py3-none-any.whl
- Upload date:
- Size: 297.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
296ebefe8a3d60e2efc59670d3a62f1488c4094df60cde1101ffbd880cca5a99
|
|
MD5 |
158e26dfb23a7a488409821c254dd639
|
|
BLAKE2b-256 |
973a154be475a96ca40c0fce2291279cec49e01e36c2ef544ebe68b61835a5c1
|