Skip to main content

Python File Browser

filebrowse is a simple library to browse and select files without creating GUIs using either PyQt5 or Tkinter. filebrowse uses PyQT but defaults to Tkinter if not installed.

Features

  • Provides a function browse() that opens a file dialog for selecting a file.
  • Uses PyQt5 if available, otherwise falls back to Tkinter.

Requirements

  • PyQt5 or Tkinter must be installed.

Installation

Clone the repository or download the pyfilebrowser.py file and include it in your project.

Usage

To use this library, import it and call the browse() function:

import filebrowse as fb

file_path_pyqt = browse()
print(f"Selected file using PyQt5: {file_path_pyqt}")

file_path_tk = browse('Tkinter')
print(f"Selected file using Tkinter: {file_path_tk}")

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Jatin Gera

Metadata

Release files for FileBrowse 0.1.1

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

Source distribution (sdist)

Source distribution for FileBrowse 0.1.1
File Size Uploaded Provenance Actions
FileBrowse-0.1.1.tar.gz 3.2 kB Without provenance Details for FileBrowse-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for FileBrowse 0.1.1
File Interpreter ABI Platform Actions
FileBrowse-0.1.1-py3-none-any.whl Python 3 none any Details for FileBrowse-0.1.1-py3-none-any.whl

Total release size: 7.0 kB

Release files / FileBrowse-0.1.1.tar.gz

Download URL FileBrowse-0.1.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2ee22fbb5f35176d40fa0a40a8abed2a83e0cb4f214e29489aeac4e5a88e1b5f
BLAKE2b-256 checksum
How to use checksums
04ebfbc7f8f90333cdd502ca24eb7c501590996a03e2dc5f09985032c0646049
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.11

Release files / FileBrowse-0.1.1-py3-none-any.whl

Download URL FileBrowse-0.1.1-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ca76654b9e218bf1ec7094778ceee3fbd01c36dfa2cb965d25941f02aeedd2b6
BLAKE2b-256 checksum
How to use checksums
77e34936d133b542769fcb6d0226ffb75c784de191d98c5fb2b4f6e7ab8b0bd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.11

Security for FileBrowse 0.1.1

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

0.1.1 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