Skip to main content

jupyterlab_advanced_file_browser_extension

GitHub Actions npm version PyPI version Total PyPI downloads JupyterLab 4 Brought To You By KOLOMOLO Donate PayPal

Adds features to the JupyterLab file browser: folders that unfold in place as a tree, Unix Style Sorting, Open in Terminal on files and drag-and-drop path insertion into terminals, editors and notebooks. It replaces jupyterlab_file_browser_sorting_extension, jupyterlab_open_in_terminal_extension and jupyterlab_drag_and_drop_path_extension.

Features

  • Folder unfolding - A triangle on each folder row folds or unfolds the folder in place, as a tree; folding and unfolding animate over a short interval; a double-click on a folder still enters it. Based on jupyterlab-unfold
  • Unfolding switch - Right-click the column header of the file browser to turn unfolding on or off, beside Show Last Modified Column and the other column items
  • Unix Style Sorting - Names sorted in LC_COLLATE=C byte order (dot files, digits, capitals, underscore, lower case), folders first, also inside unfolded folders; switched in the column-header menu
  • Open in Terminal - On a file or on the empty area of the file browser, opens a terminal in that file's folder, also for a file inside an unfolded folder
  • Drop a path into a terminal - Drag a file or folder from the file browser onto a terminal to insert its path escaped for the shell, or single-quoted with quoting turned on; the dropped-on terminal comes to the foreground
  • Drop several files onto a terminal - Every dragged path arrives in one send, in the order selected, separated by a space or by a newline
  • Drop a path into an editor or a notebook - A Python file or a Python notebook code cell receives a quoted string literal or a pathlib expression; any other open file or code cell receives the bare path. A notebook drop lands in the cell under the pointer at that cell's cursor, and a drag holding several items is declined by an editor and by a notebook
  • Drag from the breadcrumbs - The folder trail above the listing is a drag source, so the folder the browser shows can be dropped onto a target without first finding its row; a click on a breadcrumb still navigates

Settings

Open Settings → Settings Editor → Advanced File Browser. These six keys replace the former Drag and Drop Path settings page; saved values from that extension are not carried over. Each entry below leads with the label the editor shows, with the JSON key in brackets:

  • Enable drag-and-drop path insertion (dragDropPathEnabled) - master on/off switch; default true
  • Path type (pathType) - relative (default) or absolute; a relative path is measured from the terminal's working directory or from the open document's folder
  • Relative terminal path caveat - the terminal working directory comes from the deepest shell the terminal is running, so a background job that changed directory can be the one used; absolute paths and editor or notebook drops are unaffected
  • Python path style (pythonPathStyle) - posix inserts a quoted string literal (default), pathlib inserts a Path(...) expression
  • Pathlib constructor (pathlibConstructor) - pathlib.Path (default) or Path; choose Path only in files that already do from pathlib import Path, because the extension inserts no import
  • Terminal separator for several paths (terminalSeparator) - space (default) keeps the paths on one line as arguments; newline gives each path a line of its own, ending every line but the last with a backslash so the shell reads it as a continuation
  • Quote paths in the terminal (terminalQuotePaths) - false (default) backslash-escapes the characters that need it; true wraps each path in single quotes instead

Requirements

  • JupyterLab 4.6 or later
  • Python 3.12 or later

Install

pip install jupyterlab_advanced_file_browser_extension

Uninstall

pip uninstall jupyterlab_advanced_file_browser_extension

Metadata

Release files for jupyterlab-advanced-file-browser-extension 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyterlab-advanced-file-browser-extension 1.0.4
File Size Uploaded Provenance Actions
jupyterlab_advanced_file_browser_extension-1.0.4.tar.gz 365.2 kB Without provenance Details for jupyterlab_advanced_file_browser_extension-1.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jupyterlab-advanced-file-browser-extension 1.0.4
File Interpreter ABI Platform Actions
jupyterlab_advanced_file_browser_extension-1.0.4-py3-none-any.whl Python 3 none any Details for jupyterlab_advanced_file_browser_extension-1.0.4-py3-none-any.whl

Total release size: 440.4 kB

Release files / jupyterlab_advanced_file_browser_extension-1.0.4.tar.gz

Download URL jupyterlab_advanced_file_browser_extension-1.0.4.tar.gz
Size 365.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b910ab6379dd5282a656ad784b6aa6cec4ad05fb68c2b3b84e9ab1818eecb802
BLAKE2b-256 checksum
How to use checksums
0e99847bfab2ff86b7787a11bfb003e7497842fccdb0238fddd8384987edc44a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / jupyterlab_advanced_file_browser_extension-1.0.4-py3-none-any.whl

Download URL jupyterlab_advanced_file_browser_extension-1.0.4-py3-none-any.whl
Size 75.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e96c7d5509955f968c24b076558790e2a764fdeb73ec735a8acd8134213f7855
BLAKE2b-256 checksum
How to use checksums
acdc1504aa26125e793b1bdedf38c6bf1ff69ffbbe2379136dc42b5259252ffb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for jupyterlab-advanced-file-browser-extension 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page