A enhanced launcher for JupyterLab
Project description
jlab-enhanced-launcher
A enhanced launcher for JupyterLab.
This codes started from https://github.com/jupyterlab/jupyterlab/pull/5953.
Requirements
- JupyterLab >= 3.0
Install
pip install jlab-enhanced-launcher
or
conda install -c conda-forge jlab-enhanced-launcher
Uninstall
pip uninstall jlab-enhanced-launcher
or
conda remove -c conda-forge jlab-enhanced-launcher
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 jlab_enhanced_launcher 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
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
File details
Details for the file jlab-enhanced-launcher-3.0.2.tar.gz
.
File metadata
- Download URL: jlab-enhanced-launcher-3.0.2.tar.gz
- Upload date:
- Size: 26.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ce11a8060e1c85639e851498f37ee0813a62ad6a01f8a113e1d3e0a91af6936 |
|
MD5 | a953d00643ba3d09cd7321bdad897f1c |
|
BLAKE2b-256 | 46a13d6fc29f8df365a4f19ff2d669161b101ab27ea248868077aa423f264db8 |
File details
Details for the file jlab_enhanced_launcher-3.0.2-py3-none-any.whl
.
File metadata
- Download URL: jlab_enhanced_launcher-3.0.2-py3-none-any.whl
- Upload date:
- Size: 34.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 350ca7e4b0af1c9ce15aab7e2d1cabf367ee4825e1ca5a5b36293cb1ab129ca8 |
|
MD5 | 23fed60e6ae2c2c540012f031d7b87b6 |
|
BLAKE2b-256 | 607c02ee72903372fa45ee51bd5f6a8c565eab22b8e359c5d47feb0a062181f4 |