Skip to main content
Static Badge

Improved UI because it includes breaking changes.

Installation

pip install gradio_improvedfileexplorer

Usage

import gradio as gr
from gradio_improvedfileexplorer import ImprovedFileExplorer


import os

with gr.Blocks() as demo:
    fe = ImprovedFileExplorer(interactive = True, file_count = "multiple")
    fe.change(fn = lambda files: print(files), inputs = fe)

if __name__ == "__main__":
    demo.launch()

ImprovedFileExplorer

This component works basically the same as Gradio's original File Explorer, but it has (in my opinion) better UI.

Changes

Select single folders

Up to this date, Gradio has a bug that if you allow users to only select folders (glob = "./**/") and file_count = "single", you can not select anything. Look at this issue.

This problem is solved by changing you select folders. Now the checkbox nect to them select the folder

No recursive selection

When you select folder it no longer selects everything inside nor it opens the file tree. It just selects the folder.

Select all contents of a folder

If you need to select all the contents of a folder, you can open the folder and select "Select all contents" whcih will select or deselect everything inside the folder. *It will not select the folder itself

Metadata

Release files for gradio-improvedfileexplorer 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gradio-improvedfileexplorer 1.0.0
File Size Uploaded Provenance Actions
gradio_improvedfileexplorer-1.0.0.tar.gz 227.8 kB Without provenance Details for gradio_improvedfileexplorer-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gradio-improvedfileexplorer 1.0.0
File Interpreter ABI Platform Actions
gradio_improvedfileexplorer-1.0.0-py3-none-any.whl Python 3 none any Details for gradio_improvedfileexplorer-1.0.0-py3-none-any.whl

Total release size: 341.1 kB

Release files / gradio_improvedfileexplorer-1.0.0.tar.gz

Download URL gradio_improvedfileexplorer-1.0.0.tar.gz
Size 227.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3485cceca19f4104a4ce156564c8058d69d418395fa6eb735be508c732539f36
BLAKE2b-256 checksum
How to use checksums
70b548abb12bb9dc635c6f7bb65a2069438c068eb3f6485ec51c966323db21af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release files / gradio_improvedfileexplorer-1.0.0-py3-none-any.whl

Download URL gradio_improvedfileexplorer-1.0.0-py3-none-any.whl
Size 113.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fac3271b9ae747df65ba827d07a61b4fd2a17398d88178fd7b4f74d95599774b
BLAKE2b-256 checksum
How to use checksums
00614f3c3bca02f44191f28bbf3bad75d733f97b80efa9a89863367b96745da6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Security for gradio-improvedfileexplorer 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page