Show a random NASA Astronomy Picture of the Day in a JupyterLab panel.
- JupyterLab >= 4.0.0
To install the extension, execute:
pip install cluster_viz
To remove the extension, execute:
pip uninstall cluster_viz
To set up the development environment, follow these steps:
Run the following command to create a new environment with JupyterLab 4, Node.js, Git, Copier, and other required packages:
conda create -n galaxy --override-channels --strict-channel-priority -c conda-forge -c nodefaults jupyterlab=4 nodejs=20 git copier=9 jinja2-time
Activate the Conda environment:
conda activate galaxy
Install the package with pip
in editable mode:
pip install -ve .
Run the following command to install JavaScript dependencies:
jlpm install
Start the watch process to automatically rebuild the extension when source files are modified:
jlpm watch
In a separate terminal, activate the conda environment and run JupyterLab:
jupyter lab
With jlpm watch
running in one terminal and JupyterLab in another, every saved change will automatically rebuild the extension. Refresh JupyterLab to load the updated extension in the browser.
For instructions on how to package and release the extension, refer to the RELEASE file.
For instructions on how to deploy the extension, refer to the DEPLOYMENT file.
datascience-visualisation/
│
├── src # Frontend logic
└── backend # Backend logic