Found a Panel app fsspec.gui to access various filesystems: fsspec.gui

Hi all. Found this Panel app that provides a GUI to access various filesystems.

Has anyone used this? What are your experiences with this app, and fsspec in general?

Has anyone used it in conjunction with this external fsspec package for access to Google Drive?

fsspec supports many implementations, so this could unlock easy access to a ton of external file protocols, when combined with fileselector. Amazon, Azure, Box, ftp, Google, Github, HuggingFace, Local filesystem, zip etc etc.

24 Built-in: API Reference — fsspec 2024.2.0+1.g510ca5d.dirty documentation

15 Through external packages:

https://filesystem-spec.readthedocs.io/en/latest/api.html#external-implementations

Use:

https://filesystem-spec.readthedocs.io/en/latest/features.html?highlight=gui#file-selector-gui

Could the above be an already existing solution for the below Panel Github issue regarding RemoteFileSelector <@298221685679849483> ? Especially because fsspec supports many filesystems?

The GUI is built using Panel:

https://filesystem-spec.readthedocs.io/en/latest/features.html?highlight=gui#file-selector-gui

[WIP] New widget : RemoteFileSelector by pierrotsmnrd · Pull Request #6301 · holoviz/panel · GitHub

Code:

import fsspec

(Not sure if Panel needs to be installed / imported as well).

fs = fsspec.filesystem(‘s3’, anon=True)
url = ‘s3://noaa-goes18/’

fs.ls(url)[0:5]

import fsspec.gui

fsspec.gui.FileSelector(url='s3://noaa-goes18

This produces a Panel app, see code and screenshot in link.

1 Like