Registry / http-networking / fzflib

fzflib

JSON →
library0.1.17pypypi✓ verified 81d ago

A Python library for interacting with FZF (fuzzy finder) by wrapping its command-line interface. Currently at version 0.1.17, with infrequent releases. Requires Python >=3.6.

pip install fzflib
INSTALL
IMPORT
SIG · FZFLIB
F
fzflib
http-networkingpythonv0.1.17
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FZF
from fzflib import FZF
from fzflib import Fzf

Basic usage: create an Fzf instance and call run() with a list of choices.

from fzflib import Fzf fzf = Fzf() result = fzf.run(['option1', 'option2', 'option3']).output print(result)
Debug
Known issues
gotchaThe `Fzf` object runs an external `fzf` process; ensure `fzf` is installed and on PATH, otherwise it will fail silently or raise an error.
fix
Install fzf (e.g., `brew install fzf` on macOS, or via your package manager) before using fzflib.
affects: all
deprecatedDirect access to internal attributes like `process.pid` may change in future versions; prefer using methods like `wait()` or `close()`.
fix
Use the public API methods instead of directly accessing subprocess internals.
affects: 0.1.x
gotchaThe `run` method returns a `ProcessResult` object; calling `.output` returns a list of strings, not a single string. Using `.stdout` may be confused with raw bytes.
fix
Use `.output` to get the list of selected items, or `.raw_lines()` for more control.
affects: all
Upgrade
Version history
0.1.17latest on PyPI · released May 24, 2022
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Resources
fzflib — pip install fzflib · libregistry