Skip to main content

FPicker is a lightweight Windows-only file and folder picker library for Python.

Project description

FPicker

FPicker is a lightweight Windows-only file and folder picker library for Python.


Features

  • Open a file picker dialog
  • Open a folder picker dialog
  • Supports Windows COM-based dialogs

Requirements

  • Python 3.x (recommended: 3.7 or higher)
  • Windows OS

Installation

Install the package using pip:

pip install fpicker

Usage

Here is an example of how to use FPicker:

import fpicker

folder_path = fpicker.open(mode="folder")
if folder_path:
    print("Selected folder:", folder_path)

Output Example

The whole path for the selected file

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request if you have suggestions or improvements.

Local Development

To set up a local development environment, follow these steps:

  1. Create and activate a virtual environment:
    source venv/bin/activate  # macOS/Linux
    venv\Scripts\activate     # Windows
    venv/Scripts/activate
    
  2. Build & install the project
    python setup.py build
    python setup.py install
    

The module is now installed in the virtual environment. You can test it by running the example script:

python examples/example.py

License

This project is licensed under the Apache-2.0 License. See the LICENSE file for details.

Author

Developed by Sekiraw

Acknowledgements

Thanks to the Python development communities for providing tools and resources to make this project possible.

This styling ensures clarity, proper sectioning, and good readability. Let me know if you`d like any further adjustments!

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

fpicker-1.0.2.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

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

fpicker-1.0.2-cp313-cp313-win_amd64.whl (12.0 kB view details)

Uploaded CPython 3.13Windows x86-64

File details

Details for the file fpicker-1.0.2.tar.gz.

File metadata

  • Download URL: fpicker-1.0.2.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for fpicker-1.0.2.tar.gz
Algorithm Hash digest
SHA256 32368ce42d524344fe51181f051225cb17e664de1770eda6539eca08cd571d7f
MD5 19e0eb68b8df0dade519094efedde23a
BLAKE2b-256 046fa41ac215abfb0b9854832c0a6f35af0a5e761f7b5556fb2122f03ef1ff6e

See more details on using hashes here.

File details

Details for the file fpicker-1.0.2-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: fpicker-1.0.2-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for fpicker-1.0.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 eeb8049b8c133697779f912d77b4f863c21369b732d7122ab697082014b4f1b3
MD5 379b65479f92b100e963014d75b09287
BLAKE2b-256 4d66c634c15993fcdddb0db50378a243481ce6a658872a5ab441d4a477f06c55

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