Metadata-Version: 2.1
Name: airavata-jupyter-magic
Version: 0.5
Summary: A custom IPython magic extension for Airavata to recute local notebooks on clusters
Home-page: https://github.com/apache/airavata
Author: Dimuthu Wannipurage
Author-email: dimuthuw@gatech.edu
License: Apache License 2.0
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE

# 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
```
