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.4.1.tar.gz
(6.8 MB
view details)
Built Distribution
ipyparallel-8.4.1-py3-none-any.whl
(298.0 kB
view details)
File details
Details for the file ipyparallel-8.4.1.tar.gz
.
File metadata
- Download URL: ipyparallel-8.4.1.tar.gz
- Upload date:
- Size: 6.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
670bbe05755381742e1ea01177dc428ff8f3e94af1f0d5642c9d19f37ca8289b
|
|
MD5 |
6e9f26fc9f1dc478a28faa528ae3d21b
|
|
BLAKE2b-256 |
6dce644d81cbeeeb5bd5ba330455f393384d3389b2e1fa3703063591ba1f2054
|
File details
Details for the file ipyparallel-8.4.1-py3-none-any.whl
.
File metadata
- Download URL: ipyparallel-8.4.1-py3-none-any.whl
- Upload date:
- Size: 298.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
ecce5fc3c2717cc94ed7593eaf95419fb528f7f70abff3c7038f70a33fea1e6b
|
|
MD5 |
b5c3a6ba8df26611b2d6928ba4170da7
|
|
BLAKE2b-256 |
e2807f01a9a4fd4c3e1d2addd7696335cc07c5b990a11c579f44b417cf316ca4
|