Skip to main content

A tool to run a function written in Jupyter cell as a job

Project description

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.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

jupyter_jobstorm-0.2.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file jupyter_jobstorm-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyter_jobstorm-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0c7cd634e53d665f86c8006df6d8af40df067b63413824643d7f68eb8041aef1
MD5 67d8828106fae1439d976f2d57199810
BLAKE2b-256 ad0766931aca43910b44d0ecfa5f05407b5ee4910854e5726fd6998a0f9f5e94

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