Skip to main content

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

Project description

jupyterlab-favorites

Github Actions Status Binder npm PyPI conda-forge

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

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.0.0.tar.gz (133.2 kB view details)

Uploaded Source

Built Distribution

jupyterlab_favorites-3.0.0-py3-none-any.whl (33.5 kB view details)

Uploaded Python 3

File details

Details for the file jupyterlab_favorites-3.0.0.tar.gz.

File metadata

  • Download URL: jupyterlab_favorites-3.0.0.tar.gz
  • Upload date:
  • Size: 133.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for jupyterlab_favorites-3.0.0.tar.gz
Algorithm Hash digest
SHA256 f60ea1c270689483175cf789d243c5f16c6bb73f7168dc23a4d8be93e3ed8d70
MD5 4c74d66e03db8f0133bc27f6ee8c96fc
BLAKE2b-256 aef27ccdfdc6d681c47d843f1671fcda833eba015b34c10c5a7a99db4a2cd057

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jupyterlab_favorites-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 33.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for jupyterlab_favorites-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5497c04ae6a98106755f8ef7d31570932d30d1b22c63d3a1f08a04aa91934b33
MD5 8f721ce60cfca9be3017d728f353f9a0
BLAKE2b-256 73a4f9a0e3b8102dfa8b4abee209f66a2f9d1e7a1868e1f421c6a74f3da88c27

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