Skip to main content

A (near zero dependency by default) cross platform folder picker

Project description

Cross-Platform-Folder-Picker

A (near zero dependency by default) cross platform folder picker

Downloads Pypi Badge

Example GIF

Features

  • Opens a folder dialog using:
    • Default:
      • tkinter for Windows (falls back to ctypes)
      • zenity / kdialog for Linux
      • osascript for macOS
    • Optionally:
      • qt
      • gtk
  • Customize the dialog’s title and icon easily
  • Uses native dialogs where possible for a familiar look & feel
  • Falls back gracefully if native options aren’t available
  • Super simple to use in scripts, CLI tools, or GUI apps

Installation

pip install cross-platform-folder-picker

Usage

from cross_platform_folder_picker import open_folder_picker

folder = open_folder_picker()
print(folder)  # Prints the selected folder path, or None if you cancel

Roadmap

  • Let me know what features or improvements you'd like to see next!

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

cross_platform_folder_picker-0.0.6.tar.gz (602.4 kB view details)

Uploaded Source

Built Distribution

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

cross_platform_folder_picker-0.0.6-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file cross_platform_folder_picker-0.0.6.tar.gz.

File metadata

File hashes

Hashes for cross_platform_folder_picker-0.0.6.tar.gz
Algorithm Hash digest
SHA256 3d6dd72a8a5917670fab494366ca4b0f06f7f8b3db73537070f8d89fb317c117
MD5 617ce842594fe5741ae5931970f4b268
BLAKE2b-256 a953b17094f554f8e18260702803d9cd5894c65c9104b3753e3c3af0e7ac9f4d

See more details on using hashes here.

Provenance

The following attestation bundles were made for cross_platform_folder_picker-0.0.6.tar.gz:

Publisher: CI.yaml on baseplate-admin/Cross-Platform-Folder-Picker

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cross_platform_folder_picker-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for cross_platform_folder_picker-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b7821b0782a0c1ff91afbc910d6f5f0fbb4b6f8fe71c7a1b3901c353024a6609
MD5 2dbb874d77418d5348b5beb5bc4af81d
BLAKE2b-256 62eb6d581a521fe222ece5fb1f913af0ea1560c3fcc3c81888f55e5b8e7eb946

See more details on using hashes here.

Provenance

The following attestation bundles were made for cross_platform_folder_picker-0.0.6-py3-none-any.whl:

Publisher: CI.yaml on baseplate-admin/Cross-Platform-Folder-Picker

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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