Skip to main content

Run your workflow on JupyterHub

Project description

JupyterFlow

Run your workflow on JupyterHub!

What is JupyterFlow?

Run Argo Workflow on JupyterHub with single command.

  • No Kubernetes knowledge (YAML) needed to run.
  • No container image build & push or deploy.
  • Just simply run your workflow with single command jupyterflow.

jupyterflow is a single command that helps user utilize Argo workflow engine without making any YAML files or building containers on JupyterHub. The following jupyterflow command will make sequence workflow for you. That's it!

jupyterflow run -c "python hello.py >> python world.py"

To make parallel workflow, write your own workflow.yaml file.

Problem to solve

  • I wanted to train multiple ML models efficiently.
  • Using Kubernetes was a good idea, since
    • it is easy to make distributed jobs.
    • it is easy to schedule ML jobs on multiple training server.
    • it has native resource management mechanism.
    • it has good monitoring system.
  • But there were some drawbacks.
    • I needed to re-build & re-push image everytime I updated my model. This was painful.
    • People who were not familiar with k8s had a hard time using this method.

JupyterFlow aims to solve this problem. Run your workflow on JupyterHub with single command without Kubernetes & container troublesome task.

Limitation

JupyterFlow only works on JupyterHub deployed on Kubernetes.

Therefore, although using JupyterFlow does not require Kubernetes knowledge, setting up JupyterFlow requires Kubernetes understandings(YAML, helm, Service). If you're familiar with Kubernetes, it will not be too hard.

Getting Started

To set up jupyterflow and start running your first workflow, follow the Getting Started guide.

How does it work

To learn how it works, go to How it works guide.

Examples

For examples how to use, please see Examples page.

Configuration

To find out more configuration, take a look at Configuration page.

CLI Reference

For more detail usage of jupyterflow command line interface, find out more at CLI Reference page.

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

jupyterflow-0.0.4.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

jupyterflow-0.0.4-py3-none-any.whl (23.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