Dash Server File Browser
dash-server-file-browser provides a simple AIO component for Dash applications to browse directories and files on the server.
The componennt is implemented as a Modal component of dash-bootstrap-components.
Features
The current version of dash-server-file-browser supports the following features:
- Browsing the configured "base" directory and all its subdirectories
- Users cannot navigate outside the defined "base" directory
- Selecting the current directory as component "output" via a
dcc.Storecomponent - Two navigation buttons:
- "Up" button to navigate to the parent directory
- "Home" button to navigate to the base directory
- Option to display the current path as either a relative or absolute path
Installation
Install dash-server-file-browser from PyPI using pip:
pip install dash-server-file-browser
Usage
demo.py provides a simple example of how to use the FileBrowserAIO component in a Dash application.
It demonstrates how to setup the component with the necessary callbacks to open the
component and handle the selected directory.
Contributing
Contributions are welcome! If you encounter any issues or have feature requests, please open an issue or submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Metadata
Release files for dash-server-file-browser 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dash_server_file_browser-0.2.0.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dash_server_file_browser-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.0 kB
Release files / dash_server_file_browser-0.2.0.tar.gz
| Download URL | dash_server_file_browser-0.2.0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14e6294f38c421450fb9d2e70131cc22bf832fc86ee575e5a27bbaf061704fd6
|
|
BLAKE2b-256 checksum How to use checksums |
b2851a67e7393145ef1def93addc6eacf657cd894ab452f6c6a192d7b87cc201
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.12.9 Windows/11
|
Release files / dash_server_file_browser-0.2.0-py3-none-any.whl
| Download URL | dash_server_file_browser-0.2.0-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7bee7618b79c318123b0ed52b9dfd0e3f901169d695ff2d7451ad1a4350cfe7
|
|
BLAKE2b-256 checksum How to use checksums |
185146b6169b19a1b7db1584ce56ac8c871faa4d818b525107c19cedb56b90f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.12.9 Windows/11
|