Skip to main content

Jupyter-JobStorm

JupyterLab is a wonderful development environment for notebooks. By using JupyterLab, you can run a Python program easily. In a notebook, you can run a code and get the output directly below the code cell. In case of quick code execution and fast response, it becomes a wonderful development experience. Waiting about one minute for the response would be fine for almost everyone. If it takes several minutes for executing a code, how do you spend your time? You may use time to code for the next execution, chat or have a coffee. But, do you want to run your codes any time and get results later?

Jupyter-JobStorm is a solution for executing your codes asynchronously. Jupyter-JobStorm generates a job for a code to run and requests Jenkins to run the job. You can check the job status and get the result through Jupyter-JobStorm. Please see examples for details.

I believe that Jenkins will catch and execute jobs which are sent from you like the mighty storm on the planet Jupiter.

Feature

  • Supporting Jenkins as job runner
  • Running a function (*)(**) of Python/SageMath script as a job
  • Retrieving the status and the result of the job

(*) Currently only variables of function arguments are passed to the function and variables outside of the function are not supported.

(**) Since version 0.4.0, function using classes defined in Jupyter code cell is supported.

Requirement

  • dill >= 0.3.5.1
  • python-jenkins >= 1.8.0
  • tabulate >= 0.9.0
  • Jenkins
  • Jupyter
  • Shared directory accessible to Jupyter server and Jenkins nodes.

Installation

Installations required for Jupyter server and Jenkins nodes.

$ pip install jupyter-jobstorm

Usage

License

Jupyter-JobStorm is under MIT license.

Release files for jupyter-jobstorm 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for jupyter-jobstorm 0.4.0
File Interpreter ABI Platform
jupyter_jobstorm-0.4.0-py3-none-any.whl Python 3 none any Details

Release files / jupyter_jobstorm-0.4.0-py3-none-any.whl

Download URL jupyter_jobstorm-0.4.0-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
55bcdb4a966967407b1b42c6e3cb2dd7dbc3593a0b11c19426cb7ca2f675eb50
BLAKE2b-256 checksum
How to use checksums
3054924b0efecce3c9dfd43f76c943a44219cda93a405e1077d4784075cfcfb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.4.0 This release

1 release file

0.3.0

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page