jupyterlab_advanced_file_browser_extension
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; unfolding is on by default
- Unix Style Sorting - Names sorted in
LC_COLLATE=Cbyte order (dot files, digits, capitals, underscore, lower case), folders first, also inside unfolded folders; switched in the column-header menu - New items at once - A new folder, file or notebook shows in the listing as soon as the server confirms it, in its sorted place; its rename editor opens after one read of its own folder, and a Paste, Duplicate or drag-copy answer joins the read of its folder already in flight instead of starting a second one
- 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
pathlibexpression; 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
- Delete with trash - With the server's trash on, the Delete dialog offers Delete Permanently, Cancel and Move to Trash, and Move to Trash is the default; with the trash off, it offers Cancel and Delete. Delete Permanently removes a folder with its content whatever the server's
always_delete_dirsetting - Trash only where it is monitored - Move to Trash moves only the items whose trash the trash management extension monitors: the item's mount, found from the real path of its folder, is the mount of the home trash, the server root, or a folder in the server option
TrashManagement.locations(default[];~is expanded and a relative entry is taken from the server root). When no selected item is monitored, such as on a network volume linked into the server root, the dialog offers Cancel and Delete Permanently only, with a line saying the trash of this location is not monitored. When some are, a line in the dialog gives the count of the others; Move to Trash moves the monitored items, then a second dialog lists the others and asks to delete them permanently, with Cancel the default - Trash on all volumes - The server option
c.AdvancedFileBrowser.trash_on_all_volumes(defaultFalse) set toTrueoffers Move to Trash for every item whatever its mount, and Move to Trash moves the item through the server's contents manager;Falsekeeps the rule above - Core patches recommended -
jupyterlab_core_patches_extensionwith itsjupyterlab_file_delete_trash_fixswitch on is recommended for Move to Trash on other mounts, where it moves each item into the trash of its own mount; without it, the stock JupyterLab trash behaviour applies, and the server logs one start line saying the fix is not installed or switched off - Large removal warning - With the trash on, a selection larger than 10 GiB shows a warning that moving large files to the trash is not advised; the 10 GiB threshold is not a setting
- Removal progress - A removal still running after 1 second shows a progress dialog with a spinner and a progress bar; its Hide button closes the dialog and the removal keeps running
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; defaulttrue - Path type (
pathType) -relative(default) orabsolute; 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) -posixinserts a quoted string literal (default),pathlibinserts aPath(...)expression - Pathlib constructor (
pathlibConstructor) -pathlib.Path(default) orPath; choosePathonly in files that already dofrom 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;newlinegives 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;truewraps 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.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jupyterlab_advanced_file_browser_extension-1.0.9.tar.gz | 461.9 kB | Without provenance | Details for jupyterlab_advanced_file_browser_extension-1.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jupyterlab_advanced_file_browser_extension-1.0.9-py3-none-any.whl | Python 3 | none | any | Details for jupyterlab_advanced_file_browser_extension-1.0.9-py3-none-any.whl |
Total release size: 558.8 kB
Release files / jupyterlab_advanced_file_browser_extension-1.0.9.tar.gz
| Download URL | jupyterlab_advanced_file_browser_extension-1.0.9.tar.gz |
|---|---|
| Size | 461.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8b1934d6885c90719971b2339760099ea7d2f9b14d42b7e23d8387fd0d31e7e
|
|
BLAKE2b-256 checksum How to use checksums |
3dc42d09dc69f8a2466e5634dfcb9020abbdfc7b2190824f6d227d65b12d14fc
|
| 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.9-py3-none-any.whl
| Download URL | jupyterlab_advanced_file_browser_extension-1.0.9-py3-none-any.whl |
|---|---|
| Size | 96.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7144d2e3402644c9eab53944ac05aecfe4a500bfe82a9d3e088a4a043bcebe9
|
|
BLAKE2b-256 checksum How to use checksums |
104f752d363fc46ccf56afc28e721d7daab028ea96e4364f7def008a123a3dc9
|
| 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.9
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.