# 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
```
Raw data
{
"_id": null,
"home_page": "https://github.com/apache/airavata",
"name": "airavata-jupyter-magic",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Dimuthu Wannipurage",
"author_email": "dimuthuw@gatech.edu",
"download_url": "https://files.pythonhosted.org/packages/cc/b5/6d7bb43dacf9e1968cc2ad3121c3cdf13f72748f3edebc3b88f3c3585695/airavata_jupyter_magic-0.5.tar.gz",
"platform": null,
"description": "# Airavata Magic Extension to run local Jupyter Notebooks on Clusters\n\n\n## Installation\n\n```\npip install airavata_jupyter_magic\n```\n\n## Usage\n\n### Load the extension in the notebook\n```\n%load_ext airavata_jupyter_magic\n```\n\n### Initialize the remote cluster job\n```\n%init_remote cluster=jetstream cpu=2 memory=2GB\n```\n\n### Run remote cell\n```\n%%run_remote\n# Your code here\na = 10 + a\nprint(a)\n```\n\n### Terminate the remote cluster job and the connection\n```\n%terminate_remote\n```\n",
"bugtrack_url": null,
"license": "Apache License 2.0",
"summary": "A custom IPython magic extension for Airavata to recute local notebooks on clusters",
"version": "0.5",
"project_urls": {
"Homepage": "https://github.com/apache/airavata"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "121bf7214be1a74520d1af8f7810ade38b0346f74b8ccf998eb0586a77b4e636",
"md5": "7fc1e56f8d5cd8ec58b60e4b9929c879",
"sha256": "b07cca6e69cc4579eb69d4ed892263827960a42c7d0523bf1fc5218cf3d730ad"
},
"downloads": -1,
"filename": "airavata_jupyter_magic-0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7fc1e56f8d5cd8ec58b60e4b9929c879",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7627,
"upload_time": "2024-07-18T11:04:25",
"upload_time_iso_8601": "2024-07-18T11:04:25.418907Z",
"url": "https://files.pythonhosted.org/packages/12/1b/f7214be1a74520d1af8f7810ade38b0346f74b8ccf998eb0586a77b4e636/airavata_jupyter_magic-0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ccb56d7bb43dacf9e1968cc2ad3121c3cdf13f72748f3edebc3b88f3c3585695",
"md5": "8e08dd4189df8dc7b05e4d3694bfc920",
"sha256": "c996b4e3727ad6d80d84131d05c17489369cd31b823d481846293668eba10e57"
},
"downloads": -1,
"filename": "airavata_jupyter_magic-0.5.tar.gz",
"has_sig": false,
"md5_digest": "8e08dd4189df8dc7b05e4d3694bfc920",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6241,
"upload_time": "2024-07-18T11:04:27",
"upload_time_iso_8601": "2024-07-18T11:04:27.409199Z",
"url": "https://files.pythonhosted.org/packages/cc/b5/6d7bb43dacf9e1968cc2ad3121c3cdf13f72748f3edebc3b88f3c3585695/airavata_jupyter_magic-0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-18 11:04:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "apache",
"github_project": "airavata",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "airavata-jupyter-magic"
}