Skip to main content

Add the ability to save favorite folders to JupyterLab for quicker browsing

Project description

jupyterlab-favorites

Extension status Github Actions Status Binder npm PyPI conda-forge

Add the ability to save favorite folders to JupyterLab for quicker browsing.

JupyterLab Favorites extension demonstration

Installation

Prerequisites

  • JupyterLab 3.x

Install from pypi

python -m pip install jupyterlab-favorites

Install from github

python -m pip install "git+https://github.com/jupyterlab-contrib/jupyterlab-favorites@v3.0.0#egg=jupyterlab_favorites"

Install locally from a git checkout

git clone https://github.com/jupyterlab-contrib/jupyterlab-favorites.git
cd jupyterlab-favorites
pip install .

Development

Prerequisites

  • An active conda environment with JupyterLab 3.x installed

Install locally from a git checkout

git clone https://github.com/jupyterlab-contrib/jupyterlab-favorites.git
cd jupyterlab-favorites
pip install -ve .

This copies the frontend code for the extension into JupyterLab.

To keep the source code synced with JupyterLab, you can run the following:

jupyter labextension develop --overwrite .

To rebuild the extension manually after each change::

jlpm run build

To automatically rebuild after each change, run in a separate terminal:

jlpm run watch

Older JupyterLab versions

JupyterLab v2 Support

NPM install

jupyter labextension install jupyterlab-favorites@2.0.0

Jupyterlab v1 Support

Via NPM:

jupyter labextension install jupyterlab-favorites@1.0.0

Or use the tagged 1.0.0 release at: https://github.com/jupyterlab-contrib/jupyterlab-favorites/tree/v1.0.0

Testing

Download Firefox browser if not already installed: https://www.mozilla.org/en-US/firefox/new/

Install Selenium:

conda install -c conda-forge selenium

Install Pytest:

conda install -c anaconda pytest

Change directory to this repo after cloning

cd yourfolder/jupyterlab-favorites

Running test script:

./run_tests.sh

This will open jupyter lab and run available tests. Note: You will need to run in a clean jupyter environment (without existing favorites files)

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-favorites-3.1.1.tar.gz (146.1 kB view details)

Uploaded Source

Built Distribution

jupyterlab_favorites-3.1.1-py3-none-any.whl (33.6 kB view details)

Uploaded Python 3

File details

Details for the file jupyterlab-favorites-3.1.1.tar.gz.

File metadata

  • Download URL: jupyterlab-favorites-3.1.1.tar.gz
  • Upload date:
  • Size: 146.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for jupyterlab-favorites-3.1.1.tar.gz
Algorithm Hash digest
SHA256 ab1bb4e3686d7acf5bef7a34b07869913d48dd609783e671d0edfda13c2b3fb0
MD5 8890c63cbe5b0d7d43ecc9be6c64f93f
BLAKE2b-256 3e45c92de999e00171dc36ee961a56d6c80f79e7e774a5d5a9cbb79c485315ff

See more details on using hashes here.

File details

Details for the file jupyterlab_favorites-3.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_favorites-3.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1aae4750ed8306435d48799096bf64e907722aacf7048cb80c87f91d5966598d
MD5 32508e255b1b4c30a05fde49f54bbd65
BLAKE2b-256 3e3c4339667d3d0d99ece4185f5c7fa2f5f5ec87af557c50a0b7bfd667aaa6e2

See more details on using hashes here.

Supported by

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