Skip to main content

Example of using a Science Capsule Widget in a Jupyterlab extension

Project description

jupyterlab-scicap-ui

This package is a jupyterlab extension for the Science Capsule user interface. It loads the scicap-ui React app into a widget that can be launched from the jupyterlab launcher window.

Install

jlpm
jlpm build
jupyter labextension install .

# Rebuild Typescript source after making changes
jlpm build
# Rebuild JupyterLab after making any changes
jupyter lab build

You can watch the source directory and run JupyterLab in watch mode to watch for changes in the extension's source and automatically rebuild the extension and application.

# Watch the source directory in another terminal tab
jlpm watch
# Run jupyterlab in watch mode in one terminal tab
jupyter lab --watch

Build and Publish

First commit changes and upgrade the package version using npm.

npm version patch

Then build the labextension and python distribution.

jlpm run build:dist

Then publish the .whl file to pypi.

jlpm run publish

In order to publish, you will have to authenticate with pypi and your account must have permission to administer the jupyterlab-scicap-ui package on pypi.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

jupyterlab_scicap_ui-0.3.14-py3-none-any.whl (2.3 MB 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