Skip to main content

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

airavata_jupyter_magic-0.5.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

airavata_jupyter_magic-0.5-py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page