jupyterlab_advanced_file_browser_extension
Extends the JupyterLab file browser with a folder tree, Unix Style Sorting, Open in Terminal, path drag-and-drop, Move to Trash, and copy and move with a progress dialog.
Install
pip install jupyterlab_advanced_file_browser_extension
Features
-
Folder tree - A triangle on each folder row unfolds the folder in place; a double-click still enters it. Ported from jupyterlab-unfold
-
Unix Style Sorting - Names sort in
LC_COLLATE=Cbyte order (dot files, digits, capitals, underscore, lower case), folders first -
Column header switches - Right-click the column header to turn Folder Unfolding or Unix Style Sorting on or off; both are on by default
-
New items in place - A new folder, file or notebook shows in its sorted place as soon as the server creates it
-
Open in Terminal - Right-click a file or the empty area of the listing to open a terminal in that folder
-
Breadcrumb menu - Right-click a folder name in the breadcrumbs for Open in Terminal, Copy Path, Open and, with
@jlab-enhanced/favorites, Add to Favourite -
Path drag-and-drop - Drag files, folders or a breadcrumb onto a terminal, an editor or a notebook to insert the path. A terminal takes several paths in one drop; a Python file or a Python notebook code cell receives a quoted string or a
pathlibexpression -
Delete dialog - With the server's trash on, the dialog offers Cancel, Delete and Move to Trash, and Move to Trash is the default. Delete removes permanently, also a folder with content, whatever the server's
always_delete_dirsetting -
Trash only where it is monitored - Move to Trash is offered for items whose mount point is the home trash's mount point, the server root or a folder in
TrashManagement.locations. After Move to Trash, a second dialog asks to delete the other items permanently -
Removal progress - The Delete dialog warns when more than 10 GiB would go to the trash; a removal that runs longer than 1 second shows a progress dialog
-
Copy and move progress - A copy, or a move to another volume, made by Paste or by a drop onto a folder runs in a worker thread of the server and shows a progress dialog after 1 second. Hide or Escape closes the dialog and shows the operation on the right of the status bar
-
Retry, Skip file and Cancel - A read or write error pauses the copy or move. Retry continues the file from its last fsync, made every 256 MiB; Skip file goes on with the next file; Cancel stops the operation and keeps the files already finished
It replaces jupyterlab_file_browser_sorting_extension, jupyterlab_open_in_terminal_extension and jupyterlab_drag_and_drop_path_extension.
Settings
Open Settings → Settings Editor → Advanced File Browser.
| Setting | Default | Effect |
|---|---|---|
Folder unfolding (folderUnfolding) |
true |
Shows the folder tree |
Unix style sorting (unixStyleSorting) |
true |
Sorts with Unix Style Sorting |
Enable drag-and-drop path insertion (dragDropPathEnabled) |
true |
Allows path drag-and-drop and breadcrumb dragging |
Path type (pathType) |
relative |
relative to the terminal's working directory or the document's folder, or absolute |
Python path style (pythonPathStyle) |
posix |
posix inserts a quoted string, pathlib a Path(...) expression |
Pathlib constructor (pathlibConstructor) |
pathlib.Path |
pathlib.Path or Path; no import is inserted |
Terminal separator for several paths (terminalSeparator) |
space |
space or newline; with newline, each line but the last ends with a backslash |
Quote paths in the terminal (terminalQuotePaths) |
false |
true puts each path in single quotes instead of backslash escapes |
A relative terminal path is measured from the working directory of the deepest shell in the terminal, which can be a background job. Saved values of the former Drag and Drop Path settings are not carried over.
Server options go in jupyter_server_config.py:
| Option | Default | Effect |
|---|---|---|
c.AdvancedFileBrowser.trash_on_all_volumes |
False |
True offers Move to Trash for every item whatever its mount, through the server's contents manager |
c.TrashManagement.locations |
[] |
Folders of the trash management extension; an item whose mount point is one of them counts as monitored; ~ is expanded, a relative entry starts at the server root |
Requirements
- JupyterLab 4, version 4.6 or later
- Python 3.12 or later
- Recommended:
jupyterlab_core_patches_extensionwith itsjupyterlab_file_delete_trash_fixswitch on, so Move to Trash puts each item in the trash of its own mount. Without it, the stock JupyterLab trash behaviour applies and the server logs one line at start saying so
Uninstall
pip uninstall jupyterlab_advanced_file_browser_extension
Metadata
Release files for jupyterlab-advanced-file-browser-extension 1.0.11
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.11.tar.gz | 1.6 MB | Without provenance | Details for jupyterlab_advanced_file_browser_extension-1.0.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jupyterlab_advanced_file_browser_extension-1.0.11-py3-none-any.whl | Python 3 | none | any | Details for jupyterlab_advanced_file_browser_extension-1.0.11-py3-none-any.whl |
Total release size: 1.7 MB
Release files / jupyterlab_advanced_file_browser_extension-1.0.11.tar.gz
| Download URL | jupyterlab_advanced_file_browser_extension-1.0.11.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
278933bc52cbd389a11d5ee07b9824694eafd022462fc4d1ee612bc33dab7263
|
|
BLAKE2b-256 checksum How to use checksums |
85ba1e7e2ddb42274571dc54e8748d9d98479a8f50602e5775d3d39d1345023f
|
| 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.11-py3-none-any.whl
| Download URL | jupyterlab_advanced_file_browser_extension-1.0.11-py3-none-any.whl |
|---|---|
| Size | 122.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9bbbbb02fa564acf0696bd2a403899932e6c39f42cf419ed9e79fd25bc710b57
|
|
BLAKE2b-256 checksum How to use checksums |
3b2631bdc667ee7f76269239c793dcf315ce340c22a103d20a19a5c980414e6c
|
| 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.11
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.