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.0b2.tar.gz
(3.8 MB
view details)
Built Distribution
ipyparallel-7.0.0b2-py3-none-any.whl
(381.2 kB
view details)
File details
Details for the file ipyparallel-7.0.0b2.tar.gz
.
File metadata
- Download URL: ipyparallel-7.0.0b2.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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
57e0eccd1f54c4757a629220dca2072bed58d39ebcd1d768ead7c29fce29e6bd
|
|
MD5 |
0a6177fdb9a39ff126d11ad94fce2672
|
|
BLAKE2b-256 |
baddfeaed1eda4f045b55a39eab78c0cee22382dd5e1c2e97c05b5d67a2ca528
|
File details
Details for the file ipyparallel-7.0.0b2-py3-none-any.whl
.
File metadata
- Download URL: ipyparallel-7.0.0b2-py3-none-any.whl
- Upload date:
- Size: 381.2 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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
734ead432dfa0a1ec85f427bf7e7ddff80dc63a98524d25d5831dfd74437466e
|
|
MD5 |
0cb1fafbc54554745e97ebb8c0d4ead3
|
|
BLAKE2b-256 |
98367553edb1d8c808b122802e8829130f7ecdbd646121c67cb9a30488a547d1
|