Skip to content

anawas/nb2workflow

 
 

Repository files navigation

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?

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.5%
  • Jupyter Notebook 4.8%
  • Jinja 2.3%
  • Other 0.4%