Skip to main content

Jupyterlab extension to help with sorting of the files in file browser (i.e. case sensitive sorting)

Project description

jupyterlab_file_browser_sorting_extension

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

JupyterLab extension that implements LC_COLLATE=C (ASCIIbetical) sorting for the file browser.

Features

  • LC_COLLATE=C sorting - Standard Unix sorting order used by ls with 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


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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file jupyterlab_file_browser_sorting_extension-1.0.14.tar.gz.

File metadata

File hashes

Hashes for jupyterlab_file_browser_sorting_extension-1.0.14.tar.gz
Algorithm Hash digest
SHA256 cd7030be70f3f548e77b83a04c29bbc7cce973eb3069be081d91422acd388726
MD5 2b96d1a69386d1ce6563a614492c51bd
BLAKE2b-256 542a459d8a5e414e9e329c6f731238e73d6d6b0bbbc27c7051fab7d44c0223a8

See more details on using hashes here.

File details

Details for the file jupyterlab_file_browser_sorting_extension-1.0.14-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_file_browser_sorting_extension-1.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 8d774976dda18fd67d8d2ca58c357ec8b8b1ad32bb1fafe9cd03232254b1cd68
MD5 0d55553bf7131b905f1d6b2639ac778f
BLAKE2b-256 b256b9bb742ba558a82768a3725ad739ea27bc53bf04ea080c65396f4a939d47

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page