JupyterLab extension for the Onyx Graphical User Interface
Project description
Onyx GUI JupyterLab Extension
Overview
A JupyterLab extension for the Onyx Graphical User Interface, with links to the CLIMB-TRE documentation.
This extension is composed of a Python package named climb-onyx-gui (available on PyPI here) that wraps an NPM package (of the same name here) which provides the frontend logic from the Onyx GUI.
Documentation can be found here.
Setup
Install from PyPI
Assuming you have JupyterLab installed:
$ pip install climb-onyx-gui
Otherwise:
$ pip install "jupyterlab>=3" climb-onyx-gui
Build from source
Clone the repository:
$ git clone https://github.com/CLIMB-TRE/onyx-extension.git
$ cd onyx-extension/
Ensure you have Miniconda (or an alternative conda installer) available. Installation instructions for Conda can be found here.
Create and activate a conda environment with JupyterLab and NodeJS:
$ conda create -n jupyterlab-ext -c conda-forge jupyterlab=4 nodejs=20
$ conda activate jupyterlab-ext
Install the extension dependencies with the JupyterLab package manager jlpm:
$ jlpm install
Build the extension and install it:
$ jlpm run build
$ pip install -ve .
Optionally, copy and edit .env.example with ONYX_DOMAIN and ONYX_TOKEN for your development instance of Onyx:
$ cp .env.example .env
$ source .env # After editing
You can now launch JupyterLab with:
$ jupyter lab
And the Onyx extension will be ready on the launcher.
Local development
If you wish to develop the extension, ensure you have followed the above steps to build, install and run the extension from source.
From there, you can simply modify the extension code and dependencies, and reinstall/rebuild the extension by executing:
$ jlpm install && jlpm run build && pip install -ve .
and then relaunching JupyterLab.
Troubleshooting
If you are seeing the frontend extension, but it is not working, check that the server extension is enabled with:
jupyter server extension list
If the server extension is installed and enabled, but you are not seeing the frontend extension, check the frontend extension is installed with:
jupyter labextension list
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file climb_onyx_gui-0.12.12.tar.gz.
File metadata
- Download URL: climb_onyx_gui-0.12.12.tar.gz
- Upload date:
- Size: 900.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdad5b6b83416d096c1b2984a62ebb442c18cfdf3b0be03b960f5959e245dea5
|
|
| MD5 |
5af3644492d221f7e5957073d8441f77
|
|
| BLAKE2b-256 |
79ea50ea0060a96419ee0e91fb0f6851ed14cf67230c1f39d3cb8864dc866131
|
Provenance
The following attestation bundles were made for climb_onyx_gui-0.12.12.tar.gz:
Publisher:
publish.yml on CLIMB-TRE/onyx-extension
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
climb_onyx_gui-0.12.12.tar.gz -
Subject digest:
fdad5b6b83416d096c1b2984a62ebb442c18cfdf3b0be03b960f5959e245dea5 - Sigstore transparency entry: 937558182
- Sigstore integration time:
-
Permalink:
CLIMB-TRE/onyx-extension@7c5a8b978933393d90438db3ffc739c5b7f8c4a5 -
Branch / Tag:
refs/tags/v0.12.12 - Owner: https://github.com/CLIMB-TRE
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7c5a8b978933393d90438db3ffc739c5b7f8c4a5 -
Trigger Event:
release
-
Statement type:
File details
Details for the file climb_onyx_gui-0.12.12-py3-none-any.whl.
File metadata
- Download URL: climb_onyx_gui-0.12.12-py3-none-any.whl
- Upload date:
- Size: 818.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d145ae1baec3c5af463ca072b35b65a79d05fb21e63d30e2089285cf49ae4930
|
|
| MD5 |
1cd6d2fac9ae68fe98bac45d5ff0d5c2
|
|
| BLAKE2b-256 |
e9bf4df4d93456cc268174b52afe31d916b0ca981aea9f4e6b047a5a3189705b
|
Provenance
The following attestation bundles were made for climb_onyx_gui-0.12.12-py3-none-any.whl:
Publisher:
publish.yml on CLIMB-TRE/onyx-extension
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
climb_onyx_gui-0.12.12-py3-none-any.whl -
Subject digest:
d145ae1baec3c5af463ca072b35b65a79d05fb21e63d30e2089285cf49ae4930 - Sigstore transparency entry: 937558187
- Sigstore integration time:
-
Permalink:
CLIMB-TRE/onyx-extension@7c5a8b978933393d90438db3ffc739c5b7f8c4a5 -
Branch / Tag:
refs/tags/v0.12.12 - Owner: https://github.com/CLIMB-TRE
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7c5a8b978933393d90438db3ffc739c5b7f8c4a5 -
Trigger Event:
release
-
Statement type: