Skip to main content

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page