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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file jupyterlab_scicap_ui-0.3.14-py3-none-any.whl
.
File metadata
- Download URL: jupyterlab_scicap_ui-0.3.14-py3-none-any.whl
- Upload date:
- Size: 2.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9629ead94a7ae3e2c96ed96c1a56a62308dbe7020602f07a843d33190cbaec6 |
|
MD5 | 2e309e156a74b236b3bb9d450693fd75 |
|
BLAKE2b-256 | 340bf548913b6127fc763d26f960f154b205b505388d3a8ef5b9b0304a583aab |