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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for airavata_jupyter_magic-0.5.tar.gz
Algorithm Hash digest
SHA256 c996b4e3727ad6d80d84131d05c17489369cd31b823d481846293668eba10e57
MD5 8e08dd4189df8dc7b05e4d3694bfc920
BLAKE2b-256 ccb56d7bb43dacf9e1968cc2ad3121c3cdf13f72748f3edebc3b88f3c3585695

See more details on using hashes here.

File details

Details for the file airavata_jupyter_magic-0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for airavata_jupyter_magic-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b07cca6e69cc4579eb69d4ed892263827960a42c7d0523bf1fc5218cf3d730ad
MD5 7fc1e56f8d5cd8ec58b60e4b9929c879
BLAKE2b-256 121bf7214be1a74520d1af8f7810ade38b0346f74b8ccf998eb0586a77b4e636

See more details on using hashes here.

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