Information | Links |
---|---|
Project | |
Wofklows | |
Releases |
A JupyterLab extension for conda-store.
Note
Currently, this extension is only compatible with JupyterLab >= 3.0 <= 4.0
.
You will need to have conda-store installed and running on your local computer to use this extension. As well as:
JupyterLab >= 3.0 <= 4.0
- Python
>= 3.8
You can install the extension with pip:
pip install jupyterlab-conda-store
To remove the extension, execute:
pip uninstall jupyterlab-conda-store
- You will need to have NodeJS
> 18
installed on your local computer to build the extension package. - Python
>= 3.8
andpip
.
Note
The jlpm
command is JupyterLab's pinned version of yarn that is installed with JupyterLab. You may useyarn
or npm
in lieu of jlpm
in the commands below.
-
Clone this repository to your local computer:
git clone https://github.com/conda-incubator/jupyterlab-conda-store.git
-
Change to the
jupyterlab-conda-store
directory:cd jupyterlab-conda-store
-
Optional but recommended - Create and activate a development environment with conda:
# Create environment named `jupyterlab-conda-store` conda create -n jupyterlab-conda-store conda activate jupyterlab-conda-store
-
Install JupyterLab and NodeJS if not installed:
# Install node and jupyterlab from conda-forge conda install -c conda-forge 'nodejs>16' 'jupyterlab<4'
-
Install the package in development mode:
pip install -e .
-
Now you'll need to link the development version of the extension to JupyterLab and rebuild the Typescript source:
# Link your development version of the extension with JupyterLab jupyter labextension develop . --overwrite
-
On the first installation, or after making some changes, to visualize them in your local JupyterLab re-run the following command:
# Rebuild extension Typescript source after making changes jlpm build
-
Run JupyterLab and check that the installation worked:
# Run JupyterLab
jupyter lab
-
Remove the extension:
pip uninstall jupyterlab-conda-store
-
In development mode, you will also need to remove the symlink created by
jupyter labextension develop
command. To find its location, you can runjupyter labextension list
to figure out where thelabextensions
folder is located. Then you can remove the symlink namedjupyterlab-conda-store
within that folder.
To create a jupyterlab-conda-store release:
- Open a
new_release
issue in the repository and fill in the release details. - Follow the steps in the new release checklist.
Tip
Follow the steps in (RELEASE.md)[./RELEASE.md] to ensure all is working as expected.
To guarantee a welcoming and friendly community, we require all community members to follow our Code of Conduct.
jupyterlab-conda-store is developed under the BSD 3-Clause License.