Polyaxon makes it easy to start JupyterLab on your projects for you and your team members.

Component info on Polyaxon Hub

To learn about this component definition or customize its behavior, please check jupyter-lab on polyaxon-hub.

Component info using Polyaxon CLI

You can use the CLI to learn about this component:

polyaxon hub --name=jupyter-lab get

Fetch component to the current working dir

You can use the CLI to fetch the component to a local file:

polyaxon hub --name=jupyter-lab get --save

Run this component using the CLI

To run the latest version of this component using Polyaxon CLI:

polyaxon run --hub jupyter-lab -P ...

To use a specific version:

polyaxon run --hub jupyter-lab:[tag] -P ...

Note: -P is for passing parameters, e.g. -P param1=value1 -P parame2=value2

View a running operation on the dashboard

After running an operation with this component, you can view it on the dashboard:

polyaxon ops dashboard

or

polyaxon ops dashboard -p [project-name] -uid [run-uuid] -y

View the service

After running an operation with this component, you can view the service:

polyaxon ops service

Stop a running operation

To stop a running operation with this component:

polyaxon ops stop

or

polyaxon ops stop -p [project-name] -uid [run-uuid]

Run this component using the client

To run this component using Polyaxon Client:

from polyaxon.client import RunClient

client = RunClient(...)
client.create_from_hub(component="jupyter-lab", ...)

Usage in operations

You can also create operations instead of passing params:

version: 1.1
kind: operation
params:
  param1: {value: value1}
  ...
hubRef: jupyter-lab:[tag]

Versions

This component has the following versions: ['latest', 'all-spark', 'pyspark', 'scipy', 'tensorflow']