convert notebook to workflow


Keywords
jupyter, docker
License
GPL-3.0
Install
pip install nb2workflow==1.3.69

Documentation

PyPI version codebeat badge Python package codecov

This repository helps to use notebook as a workflow.

Starts service without container:

nb2service tests/testrepo/workflow-notebook.ipynb

Builds service container and starts it:

nb2worker tests/testrepo/

Builds one-shot container and cwl:

nb2worker tests/testrepo/ --build --job

Generates cwl:

nb2cwl tests/testrepo/

Deploys a service

Building and deploying RESTful (Swagger) service:

$ nb2deploy https://renkulab.io/gitlab/vladimir.savchenko/oda-sdss legacysurvey

Alternatively, using kaniko:

$ nb2deploy https://renkulab.io/gitlab/astronomy/mmoda/fermi fermi-an-test --build-engine kaniko

Motivation

See development guide for details https://odahub.io/docs/guide-development/

Why run notebooks?

Why convert notebook as a service?