A custom IPython magic extension for Airavata to recute local notebooks on clusters
Project description
Airavata Magic Extension to run local Jupyter Notebooks on Clusters
Installation
pip install airavata_jupyter_magic
Usage
Load the extension in the notebook
%load_ext airavata_jupyter_magic
Initialize the remote cluster job
%init_remote cluster=jetstream cpu=2 memory=2GB
Run remote cell
%%run_remote
# Your code here
a = 10 + a
print(a)
Terminate the remote cluster job and the connection
%terminate_remote
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file airavata_jupyter_magic-0.5.tar.gz
.
File metadata
- Download URL: airavata_jupyter_magic-0.5.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c996b4e3727ad6d80d84131d05c17489369cd31b823d481846293668eba10e57 |
|
MD5 | 8e08dd4189df8dc7b05e4d3694bfc920 |
|
BLAKE2b-256 | ccb56d7bb43dacf9e1968cc2ad3121c3cdf13f72748f3edebc3b88f3c3585695 |
File details
Details for the file airavata_jupyter_magic-0.5-py3-none-any.whl
.
File metadata
- Download URL: airavata_jupyter_magic-0.5-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b07cca6e69cc4579eb69d4ed892263827960a42c7d0523bf1fc5218cf3d730ad |
|
MD5 | 7fc1e56f8d5cd8ec58b60e4b9929c879 |
|
BLAKE2b-256 | 121bf7214be1a74520d1af8f7810ade38b0346f74b8ccf998eb0586a77b4e636 |