This theme styles the integration of Jupyter Lab with Composable, known as DataLabs
Project description
jupyterlab_ca_theme
This theme styles the integration of Jupyter Lab with Composable, known as DataLabs
Requirements
- JupyterLab >= 3.0
Install
pip install jupyterlab_ca_theme
Contributing
Development install
Note: You will need NodeJS to build the extension package.
The jlpm
command is JupyterLab's pinned version of
yarn that is installed with JupyterLab. You may use
yarn
or npm
in lieu of jlpm
below.
# Clone the repo to your local environment
# Change directory to the jupyterlab_ca_theme directory
# Install package in development mode
pip install -e .
# Link your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite
# Rebuild extension Typescript source after making changes
jlpm run build
You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.
# Watch the source directory in one terminal, automatically rebuilding when needed
jlpm run watch
# Run JupyterLab in another terminal
jupyter lab
With the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).
By default, the jlpm run build
command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:
jupyter lab build --minimize=False
Uninstall
pip uninstall jupyterlab_ca_theme
jupyter labextension uninstall @composable/jupyterlab-ca-theme
Project details
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
Hashes for jupyterlab_ca_theme-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bc5a90be6faa04be788e5d7e9484f71141f070bb73f7702609b99be2a57afdf |
|
MD5 | fb0ffa7c1f4bd52f80518f9ca0346d2c |
|
BLAKE2b-256 | 713bd7caf6bfe06b957cfe7b8ba7ab8c722a263ad8ff1ef770ef33df57bc572a |
Hashes for jupyterlab_ca_theme-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dce0aaf40280fe224db96065d0e388c157a55c5a6d556b323903a5d216c97eec |
|
MD5 | e4576a67e960d5538bc8eb649af5b11c |
|
BLAKE2b-256 | fcbaf7e0d11897955bb972cdcaea2f562c3dda498b0da02c99ee44c9802f3c7a |