All-in-one file browser component for Dash applications based on Dash Bootstrap Components.
Project description
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.
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 dash_server_file_browser-0.2.0.tar.gz.
File metadata
- Download URL: dash_server_file_browser-0.2.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.12.9 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14e6294f38c421450fb9d2e70131cc22bf832fc86ee575e5a27bbaf061704fd6
|
|
| MD5 |
9276a8e6a36b470eb319d4ec91bbe5c3
|
|
| BLAKE2b-256 |
b2851a67e7393145ef1def93addc6eacf657cd894ab452f6c6a192d7b87cc201
|
File details
Details for the file dash_server_file_browser-0.2.0-py3-none-any.whl.
File metadata
- Download URL: dash_server_file_browser-0.2.0-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.12.9 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7bee7618b79c318123b0ed52b9dfd0e3f901169d695ff2d7451ad1a4350cfe7
|
|
| MD5 |
17734b50cb282320a1c6614de5efe120
|
|
| BLAKE2b-256 |
185146b6169b19a1b7db1584ce56ac8c871faa4d818b525107c19cedb56b90f5
|