# 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
```
Raw data
{
"_id": null,
"home_page": "https://github.com/yamaton/jupyterlab_copy_relative_path",
"name": "jupyterlab-copy-relative-path",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "Jupyter,JupyterLab,JupyterLab3",
"author": "Yamato Matsuoka",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/dc/79/4da626f674b827f5f5868662fc945e06e327ad033418a439c2c5b5947515/jupyterlab_copy_relative_path-0.0.2.tar.gz",
"platform": "Linux",
"description": "# Copy Relative Path\n\n[![PyPI](https://img.shields.io/pypi/v/jupyterlab-copy-relative-path)](https://pypi.org/project/jupyterlab-copy-relative-path/)\n[![Conda-Forge](https://img.shields.io/conda/vn/conda-forge/jupyterlab-copy-relative-path)](https://anaconda.org/conda-forge/jupyterlab-copy-relative-path)\n\n> Adds **'Copy Relative Path'** to a context menu of JupyterLab tabs and file browser items.\n\nThis 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.\n\n![copy relative path demo](https://github.com/yamaton/jupyterlab_copy_relative_path/raw/main/preview.png)\n\n# Install\n\nInstall with `pip`.\n\n```shell\npip install jupyterlab-copy-relative-path\n```\n\nOr, via `conda-forge`.\n\n```shell\nconda install -c conda-forge jupyterlab-copy-relative-path\n```\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "Adds 'Copy Relative Path' to a context menu of JupyterLab file browser.",
"version": "0.0.2",
"split_keywords": [
"jupyter",
"jupyterlab",
"jupyterlab3"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "24eb70f3fbebff89457310c5f3f6e379",
"sha256": "664d03f642a3d46d6045a7175fda66a36636901da274413fd3f571f4de160de9"
},
"downloads": -1,
"filename": "jupyterlab_copy_relative_path-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "24eb70f3fbebff89457310c5f3f6e379",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 73540,
"upload_time": "2022-12-22T20:27:46",
"upload_time_iso_8601": "2022-12-22T20:27:46.848101Z",
"url": "https://files.pythonhosted.org/packages/f8/eb/f423af009c173992ba079476000de0717dc220a69996b16c2f2ccc08eb53/jupyterlab_copy_relative_path-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "1e91f1bd986882df843675c5089261eb",
"sha256": "a545ffcc3853c6a141f542a05551e738d55c9ba6338059c76465a04b7cd0ada3"
},
"downloads": -1,
"filename": "jupyterlab_copy_relative_path-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "1e91f1bd986882df843675c5089261eb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 31429,
"upload_time": "2022-12-22T20:27:48",
"upload_time_iso_8601": "2022-12-22T20:27:48.191320Z",
"url": "https://files.pythonhosted.org/packages/dc/79/4da626f674b827f5f5868662fc945e06e327ad033418a439c2c5b5947515/jupyterlab_copy_relative_path-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-22 20:27:48",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "yamaton",
"github_project": "jupyterlab_copy_relative_path",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "jupyterlab-copy-relative-path"
}