--- id: ipyfilechooser version: "0.6.0" license: MIT license_treatment: permissive maintenance: dormant --- # ipyfilechooser — Python file chooser widget for use in Jupyter/IPython in conjunction with ipywidgets License: permissive · Maintenance: dormant · Downloads: 370.6K/mo ## What it is and what it does ipyfilechooser is a widget for Jupyter and IPython notebooks that provides an interactive file and folder browser. It wraps the ipywidgets library to create a dialog where users can navigate the filesystem, select files or folders, and apply filters. The widget displays the selected path, filename, or both through properties like `.selected_path`, `.selected_filename`, and `.selected`, and can be reset to defaults or constrained to a sandbox directory. The widget includes visual cues: selected file paths appear in green if the file does not exist and orange if it does, helping users avoid accidental overwrites. It supports filtering by file pattern (using fnmatch syntax), hiding or showing hidden files, customizing folder icons, and restricting navigation to a specific parent directory. Callbacks can be registered to respond when the user makes a selection. Use it for: - Let notebook users interactively select input files without typing paths manually. - Build a file upload or data-loading interface in a Jupyter notebook with visual feedback on file existence. - Restrict file browsing to a specific project directory to prevent accidental access to sensitive paths. - Filter file selection to only certain types (e.g., .csv, .txt) to guide users toward valid inputs. - Create a folder-selection dialog for output or working directory configuration in a notebook workflow. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A Jupyter/IPython widget that lets users browse and select files or folders through an interactive dialog, with visual feedback for existing vs. new files and customizable filtering. Yes, if you need an interactive file picker in Jupyter/IPython. The package is stable, has no security vulnerabilities, and installs with minimal friction. The main caveat is dormant maintenance—last release was 2021—so verify compatibility with your current ipywidgets and Jupyter versions before relying on it for production notebooks. It is well-suited for exploratory or educational notebooks where users need a GUI to browse and select files. ## Install pip install ipyfilechooser uv add ipyfilechooser poetry add ipyfilechooser ## Installing ipyfilechooser Before you install: Low friction install with a single runtime dependency (ipywidgets). Maintenance is dormant—last release was 2021-09-15 and last commit 2024-04-02—but the package is marked Production/Stable and carries no known vulnerabilities, so it is unlikely to break in routine use. License in practice: MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions. Quickstart: pip install ipyfilechooser from ipyfilechooser import FileChooser fc = FileChooser('/home/user') display(fc) print(fc.selected) # Access selected file path Requires a Jupyter or IPython environment to display and interact with the widget. Verify before relying: - Whether the package works with current versions of ipywidgets and modern Jupyter releases, given the last release was in 2021. - Whether Windows path handling and sandbox_path restrictions (added in 0.6.0) are fully stable in practice. ## Package facts - License: MIT (permissive) - Python support: unspecified - Install friction: low - Maintenance: dormant - Downloads: 370.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags jupyter file picker widget, ipython file chooser dialog, interactive file browser jupyter, select files in notebook, folder picker widget, file dialog ipywidgets, notebook file selection, jupyter-widget, interactive-ui [View on SkillFed](https://skillfed.io/packages/ipyfilechooser) · [View on PyPI](https://pypi.org/project/ipyfilechooser/)