Find Executable (find-exe) is a Python library and command-line interface designed to locate matching executables on a system given certain criteria. It provides a robust way to programmatically find executables, similar to the `which` or `where` commands, with additional flexibility. The current version is 0.2.1, and it maintains an active release cadence with minor updates and fixes.
pip install find-exeVerified import paths — ran on the pinned version, not inferred.
The quickstart demonstrates finding executables using `find_exe.which()` and `find_exe.with_prefix()`. It also shows how to specify custom search paths using the `paths` argument.
Upgrade to `find-exe` version 0.2.1 or later to resolve potential case sensitivity problems on Windows. Use `pip install --upgrade find-exe`.
For predictable results, ensure your system's `PATH` and `PATHEXT` variables are correctly configured. If using the `paths` argument, provide an explicit list of directories to search. If still facing issues, check `os.environ['PATH']` and `os.environ.get('PATHEXT', '')` within your Python environment.Verify the executable's location and permissions. If it's not in a standard PATH directory, use the `paths` argument: `find_exe.which('my_executable', paths=['/path/to/dir'])`. For Windows, ensure the executable's extension (e.g., '.exe', '.bat') is included in your system's `PATHEXT` variable or that you specify the full executable name including extension.Upgrade your `find-exe` library to version 0.2.0 or newer: `pip install --upgrade find-exe`.
No dependency data recorded yet.