Python bindings for fzf
Project description
fzf.py
Better Python bindings for the command-line fuzzy-finder
fzf
.
Installation
pip install fzf.py
Usage
fzf.py
can be used as a class instance or a function decorator.
from fzf import Fzf, fzf
As a class instance:
chooser = Fzf()
choices = chooser.prompt([1, 2, 3])
As a function decorator:
@fzf()
def example():
return [1, 2, 3]
choices = example()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fzf.py-0.0.1.tar.gz
(5.0 kB
view hashes)