All Projects → kubeflow-kale → jupyterlab-kubeflow-kale

kubeflow-kale / jupyterlab-kubeflow-kale

Licence: Apache-2.0 license
JupyterLab extension to provide a Kubeflow specific left area for Notebooks deployment

Programming Languages

typescript
32286 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to jupyterlab-kubeflow-kale

Jupyter bokeh
An extension for rendering Bokeh content in JupyterLab notebooks
Stars: ✭ 165 (+870.59%)
Mutual labels:  jupyterlab, jupyterlab-extension
Awesome Jupyterlab Extension
😎 A curated list of awesome Jupyterlab extension projects. 🌠 Detailed introduction with images.
Stars: ✭ 198 (+1064.71%)
Mutual labels:  jupyterlab, jupyterlab-extension
Jupyterlab voyager
JupyterLab extension visualize data with Voyager
Stars: ✭ 244 (+1335.29%)
Mutual labels:  jupyterlab, jupyterlab-extension
Jupyterlab templates
Support for jupyter notebook templates in jupyterlab
Stars: ✭ 223 (+1211.76%)
Mutual labels:  jupyterlab, jupyterlab-extension
Awesome Jupyter
A curated list of awesome Jupyter projects, libraries and resources
Stars: ✭ 2,523 (+14741.18%)
Mutual labels:  jupyterlab, jupyterlab-extension
Jupyterlab Configuration
Containerized and Script-controlled JupyterLab Project Environment
Stars: ✭ 84 (+394.12%)
Mutual labels:  jupyterlab, jupyterlab-extension
Awesome Jupyterlab
A curated list of awesome JupyterLab extensions and resources
Stars: ✭ 2,035 (+11870.59%)
Mutual labels:  jupyterlab, jupyterlab-extension
Elyra
Elyra extends JupyterLab Notebooks with an AI centric approach.
Stars: ✭ 839 (+4835.29%)
Mutual labels:  jupyterlab, jupyterlab-extension
Jupyterlab materialdarker
The Material Darker theme for JupyterLab
Stars: ✭ 120 (+605.88%)
Mutual labels:  jupyterlab, jupyterlab-extension
Jupyterlab Spreadsheet
JupyterLab plugin for viewing spreadsheets, such as Excel .xls/.xlsx workbooks and OpenOffice .ods files
Stars: ✭ 95 (+458.82%)
Mutual labels:  jupyterlab, jupyterlab-extension
Jupyterlab Go To Definition
Navigate to variable's definition with a click in JupyterLab (or with a few key strokes)
Stars: ✭ 180 (+958.82%)
Mutual labels:  jupyterlab, jupyterlab-extension
Best Of Jupyter
🏆 A ranked list of awesome Jupyter Notebook, Hub and Lab projects (extensions, kernels, tools). Updated weekly.
Stars: ✭ 200 (+1076.47%)
Mutual labels:  jupyterlab, jupyterlab-extension
Jupyterlab Gitplus
JupyterLab extension to create GitHub commits & pull requests
Stars: ✭ 76 (+347.06%)
Mutual labels:  jupyterlab, jupyterlab-extension
Jupyterlab tensorboard
Tensorboard extension for jupyterlab.
Stars: ✭ 245 (+1341.18%)
Mutual labels:  jupyterlab, jupyterlab-extension
Jupyterlab Python Bytecode
JupyterLab extension to explore CPython Bytecode
Stars: ✭ 57 (+235.29%)
Mutual labels:  jupyterlab, jupyterlab-extension
Jupyterlab System Monitor
JupyterLab extension to display system metrics
Stars: ✭ 154 (+805.88%)
Mutual labels:  jupyterlab, jupyterlab-extension
Jupyterlab Git
A Git extension for JupyterLab
Stars: ✭ 809 (+4658.82%)
Mutual labels:  jupyterlab, jupyterlab-extension
Jupyterlab Vim
Vim notebook cell bindings for JupyterLab
Stars: ✭ 842 (+4852.94%)
Mutual labels:  jupyterlab, jupyterlab-extension
Jupyterlab Topbar
JupyterLab Top Bar extension
Stars: ✭ 86 (+405.88%)
Mutual labels:  jupyterlab, jupyterlab-extension
Jupyterlab Data Explorer
First class datasets in JupyterLab
Stars: ✭ 146 (+758.82%)
Mutual labels:  jupyterlab, jupyterlab-extension

⚠️NOTICE⚠️: This repository has been archived. The code has been moved to the kale repository, where it is maintained under the labextension folder.

Kale JupyterLab Extension

This JupyterLab extension provides a Kubeflow specific left area that can be used to deploy a Notebook to Kubeflow Pipelines. The UI is just high level component designed to let the user annotate Notebook metadata and Cells metadata easily and visually. In order to convert the notebook to a Kubeflow Pipeline workflow and have it run in KFP, Kale needs to be installed in the same Python environment as the running Notebook Kernel.

Getting started

# install jupyter lab
pip install jupyterlab==1.1.1

# install kale: see instructions in Kale repository
# ...

# install the extension
jupyter labextension install kubeflow-kale-launcher
# verify extension status
jupyter labextension list

# run
jupyter lab

KaleLauncherScreenshot

How it works

Kale Launcher UI lets you update Notebook and Cells metadata according to Kale spec. The extension reads and saves Notebook metadata automatically, keeping a consistent view of the Notebook spec. You don't have to worry about manually saving the Notebook, the extension will write any new changes automatically.

When clicking the big blue run button, Kale will be run in the background over the active Notebook and perform the required action based on the button option selected.

The Launcher is able to invoke Kale in the background by programmatically executing shell commands in the Kernel environment. Specifically, it will run:

kale --nb <current_active_notebook_name> [--upload_pipeline] [--run_pipeline]

Development

Build

To build and run the extension in dev mode, first clone the repository in your local machine.

# Move to repository folder
cd jupyterlab-kubeflow-kale

# Install dependencies
jlpm install

# Build the extension. This will generate a dist/ folder with build files
jlpm run build

# Add the extension to jupyterlab.
# Be sure to uninstall any other version first (e.g. npm kubeflow-kale-launcher package)
jupyter labextension install .

When developing, you can run jlpm in watch mode to incrementally compile the new changes:

jlpm run watch

And run JupyterLab in watch mode to load the new compiled version:

jupyter lab --no-browser --watch

Contribute

This repository uses husky to set up git hooks.

For husky to function properly, you need to have yarn installed and in your PATH. The reason that is required is that husky is installed via jlpm install and jlpm is a yarn wrapper. (Similarly, if it was installed using the npm package manager, then npm would have to be in PATH.)

Currently installed git hooks:

  • pre-commit: Run a prettier check on staged files, using pretty-quick
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].