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.0b1.tar.gz
(9.2 MB
view details)
Built Distribution
ipyparallel-8.0.0b1-py3-none-any.whl
(396.6 kB
view details)
File details
Details for the file ipyparallel-8.0.0b1.tar.gz
.
File metadata
- Download URL: ipyparallel-8.0.0b1.tar.gz
- Upload date:
- Size: 9.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 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 |
37b3668014378e3e4e6901b117d5cd8a719997df02de98ef8f67ce256c1b7b51
|
|
MD5 |
a8c350b35f4c3b0d09f192a390b0a6c5
|
|
BLAKE2b-256 |
9ba0e1fa44a18c56c732aa20618226416fa680aa024578859ab69c7cbd80415e
|
File details
Details for the file ipyparallel-8.0.0b1-py3-none-any.whl
.
File metadata
- Download URL: ipyparallel-8.0.0b1-py3-none-any.whl
- Upload date:
- Size: 396.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 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 |
4cebd5df346c46334723ac11dec4f4f827384a8b68b4704a5a9d2bccc0be0d67
|
|
MD5 |
3a6aa2510e0d12eac3afac4d53c5cae3
|
|
BLAKE2b-256 |
9ac37c92cb7e0ab06d008222ac8c6f67fe76c9e80514f135ab9c2d7e2114f6dc
|