Skip to main content

All-in-one file browser component for ``Dash`` applications based on ``Dash Bootstrap Components``.

Project description

Dash Server File Browser

License

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.Store component
  • Two navigation buttons:
    • "Up" button to navigate to the parent directory
    • "Base" button to navigate to the base directory
  • Option to display the current path as either a relative or absolute path

Installation

To install dash-server-file-browser, use pip:

# Install the package from PyPI
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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dash_server_file_browser-0.1.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

dash_server_file_browser-0.1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file dash_server_file_browser-0.1.0.tar.gz.

File metadata

  • Download URL: dash_server_file_browser-0.1.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.9 Windows/11

File hashes

Hashes for dash_server_file_browser-0.1.0.tar.gz
Algorithm Hash digest
SHA256 67de2fa47b80d0a6e7f21a3f53d692d3501a8132c8297323c9a05b8313643f06
MD5 0b4bc79090651be4d197390a9bd47ee5
BLAKE2b-256 2cc92be206eb21610c93e1999a508fc248c3fdcf0830ad01bbd15565639a9499

See more details on using hashes here.

File details

Details for the file dash_server_file_browser-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dash_server_file_browser-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d8ebf9f0f0f63611c445d40d6dffaba11321031299e76f27e51461d1bd042f40
MD5 b248091a9ecb5402ef674e4facbd0e29
BLAKE2b-256 e8965b6f466971f7edc81be2501aa4e181f86c7f41148e3f96ccc913c2052ce2

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