Skip to main content

A JupyterLab extension that provides a user-friendly graphical interface for building and managing environments using an existing conda-store server

Project description

jupyterlab-conda-store

conda-store logo

Information Links
Project License conda-store documentation conda-store-ui documentation
Releases GitHub release (the latest by date) PyPI releases

A JupyterLab extension for conda-store.

[!NOTE] This extension is only compatible with JupyterLab >= 4.0.

Installation 📦

Pre-requisites

You will need to have conda-store installed and running on your local computer to use this extension. As well as:

  • JupyterLab >= 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

[!NOTE] Starting on version 2024.3.1, this extension is only compatible with JupyterLab >= 4.0, use version 2024.1.1 for use with JupyterLab 3.x.

Installing the development version 🚀

Pre-requisites

  1. You will need to have NodeJS > 18 installed on your local computer to build the extension package.
  2. Python >= 3.8 and pip.

Building and linking the extension

[!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.

  1. Clone this repository to your local computer:

    git clone https://github.com/conda-incubator/jupyterlab-conda-store.git
    
  2. Change to the jupyterlab-conda-store directory:

     cd jupyterlab-conda-store
    
  3. Create a new conda environment:

    conda env create -f environment.yaml
    
    # activate the environment
    conda activate jupyterlab-conda-store
    
  4. Install the package in development mode:

    python -m pip install -e .
    
  5. Now you'll need to link the development version of the extension to JupyterLab and rebuild the Typescript source:

    # Install the extension dependencies
    jlpm install
    # Link your development version of the extension with JupyterLab
    jupyter labextension develop . --overwrite
    
  6. 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 run build
    
  7. Run JupyterLab and check that the installation worked:

    # Run JupyterLab
    jupyter lab
    

[!TIP] At times you might need to clean your local repo with the command npm run clean:slate. This will clean the repository, and re-install and rebuild.

To lint files as you work on contributions, you can run:

jlpm run lint:check

Uninstalling the development version

  1. Remove the extension:

    pip uninstall jupyterlab-conda-store
    
  2. In development mode, you will also need to remove the symlink created by jupyter labextension develop command. To find its location, you can run jupyter labextension list to figure out where the labextensions folder is located. Then you can remove the symlink named jupyterlab-conda-store within that folder.

Release

To create a jupyterlab-conda-store release:

  1. Open a new_release issue in the repository and fill in the release details.
  2. Follow the steps in the new release checklist.

[!TIP] Follow the steps in RELEASE.md to ensure all is working as expected.

Code of Conduct 🤝

To guarantee a welcoming and friendly community, we require all community members to follow our Code of Conduct.

License 📃

jupyterlab-conda-store is developed under the BSD 3-Clause License.

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

jupyterlab_conda_store-2024.11.1.tar.gz (574.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyterlab_conda_store-2024.11.1-py3-none-any.whl (817.7 kB view details)

Uploaded Python 3

File details

Details for the file jupyterlab_conda_store-2024.11.1.tar.gz.

File metadata

File hashes

Hashes for jupyterlab_conda_store-2024.11.1.tar.gz
Algorithm Hash digest
SHA256 79667b71f68be408cede4a92c557a5092e3f9dab642f4adb3deb2f2eed443c70
MD5 486e2ee8e62ae8261ceb564f33feaec1
BLAKE2b-256 1d567c7b8e0b85b32552b103ac63eadccfe511a68cb8bf6342332ec36598da7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for jupyterlab_conda_store-2024.11.1.tar.gz:

Publisher: release.yml on conda-incubator/jupyterlab-conda-store

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jupyterlab_conda_store-2024.11.1-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_conda_store-2024.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 43d5da00a6036de0e1a07e75d7d923905a124bcd49e7608becb9da1f529201d7
MD5 00c3d7d5d03b13ba6b7282e92a3c7ecc
BLAKE2b-256 8bb1e8b0a5cc04a5542774ff8c84177f4d03f32a58418719740c3affb771622b

See more details on using hashes here.

Provenance

The following attestation bundles were made for jupyterlab_conda_store-2024.11.1-py3-none-any.whl:

Publisher: release.yml on conda-incubator/jupyterlab-conda-store

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page