Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yamaton/jupyterlab_copy_relative_path
A JupyterLab extension adding "Copy Relative Path" to a context menu.
https://github.com/yamaton/jupyterlab_copy_relative_path
Last synced: 1 day ago
JSON representation
A JupyterLab extension adding "Copy Relative Path" to a context menu.
- Host: GitHub
- URL: https://github.com/yamaton/jupyterlab_copy_relative_path
- Owner: yamaton
- License: bsd-3-clause
- Created: 2022-10-26T20:44:07.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-22T04:05:45.000Z (almost 2 years ago)
- Last Synced: 2024-10-06T00:36:09.615Z (about 1 month ago)
- Language: TypeScript
- Size: 338 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Copy Relative Path
[![PyPI](https://img.shields.io/pypi/v/jupyterlab-copy-relative-path)](https://pypi.org/project/jupyterlab-copy-relative-path/)
[![Conda-Forge](https://img.shields.io/conda/vn/conda-forge/jupyterlab-copy-relative-path)](https://anaconda.org/conda-forge/jupyterlab-copy-relative-path)> Adds **'Copy Relative Path'** to a context menu of JupyterLab tabs and file browser items.
This extension would be useful when specifying a file or a directory from a notebook. The path is relative to an active document; the button will hide when an active window does not provide a reference path; i.e. when a Launch page or a Console window is active.
![copy relative path demo](https://github.com/yamaton/jupyterlab_copy_relative_path/raw/main/preview.png)
# Install
Install with `pip`.
```shell
pip install jupyterlab-copy-relative-path
```Or, via `conda-forge`.
```shell
conda install -c conda-forge jupyterlab-copy-relative-path
```