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.0.0.tar.gz
(9.2 MB
view details)
Built Distribution
ipyparallel-8.0.0-py3-none-any.whl
(397.9 kB
view details)
File details
Details for the file ipyparallel-8.0.0.tar.gz
.
File metadata
- Download URL: ipyparallel-8.0.0.tar.gz
- Upload date:
- Size: 9.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
95305a886f2c42e9603c034ea684e5c031d9d4222c66ed6d85eb3ae15d631e4b
|
|
MD5 |
6fe7ca3be3fe4c20e84cd5af53099b25
|
|
BLAKE2b-256 |
9dd315024212544a74876d4000cddab15c10642e742ffd5515a65a7db1eb817f
|
File details
Details for the file ipyparallel-8.0.0-py3-none-any.whl
.
File metadata
- Download URL: ipyparallel-8.0.0-py3-none-any.whl
- Upload date:
- Size: 397.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
3365f8020baa2a675b5c7e42b6fe1c03b20e95de7af3330fa5557265ac07451a
|
|
MD5 |
6ebeccfd3b7f784230b24a6328ec7f7d
|
|
BLAKE2b-256 |
62e62aaddc081158cd6bedeed86047ed4609b38fcd0e44ddf0fe002bd8f9f7a6
|