Jupyterlab extension to help with sorting of the files in file browser (i.e. case sensitive sorting)
Project description
jupyterlab_file_browser_sorting_extension
JupyterLab extension that implements LC_COLLATE=C (ASCIIbetical) sorting for the file browser.
Features
- LC_COLLATE=C sorting - Standard Unix sorting order used by
lswith C locale - Dot files first - Hidden files (starting with
.) appear before other files - Uppercase before lowercase - Capital letters (A-Z) sort before lowercase (a-z)
- ASCII order - Characters sorted by their ASCII code values
- Toggle via context menu - Right-click in the file browser to enable/disable
Usage
Right-click anywhere in the file browser content area and select "Use Unix-Style Sorting (LC_COLLATE=C)" to toggle the sorting mode. The setting is persisted across sessions.
When enabled, the extension sorts files using the standard Unix C locale collation sequence:
. (dot) -> 0-9 -> A-Z -> _ (underscore) -> a-z
Example sort order:
.hidden
.profile
123file
ABC
Makefile
README
_config
abc
readme
zebra
This matches the behavior of LC_COLLATE=C ls on Unix systems.
Requirements
- JupyterLab >= 4.0.0
Installation
pip install jupyterlab_file_browser_sorting_extension
Uninstall
pip uninstall jupyterlab_file_browser_sorting_extension
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jupyterlab_file_browser_sorting_extension-1.0.14.tar.gz.
File metadata
- Download URL: jupyterlab_file_browser_sorting_extension-1.0.14.tar.gz
- Upload date:
- Size: 187.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd7030be70f3f548e77b83a04c29bbc7cce973eb3069be081d91422acd388726
|
|
| MD5 |
2b96d1a69386d1ce6563a614492c51bd
|
|
| BLAKE2b-256 |
542a459d8a5e414e9e329c6f731238e73d6d6b0bbbc27c7051fab7d44c0223a8
|
File details
Details for the file jupyterlab_file_browser_sorting_extension-1.0.14-py3-none-any.whl.
File metadata
- Download URL: jupyterlab_file_browser_sorting_extension-1.0.14-py3-none-any.whl
- Upload date:
- Size: 20.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d774976dda18fd67d8d2ca58c357ec8b8b1ad32bb1fafe9cd03232254b1cd68
|
|
| MD5 |
0d55553bf7131b905f1d6b2639ac778f
|
|
| BLAKE2b-256 |
b256b9bb742ba558a82768a3725ad739ea27bc53bf04ea080c65396f4a939d47
|