Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 958 Bytes

README.md

File metadata and controls

42 lines (28 loc) · 958 Bytes

pyfzf

https://pypi.python.org/pypi/pyfzf

A python wrapper for junegunn's awesome fzf.

Requirements

  • Python 2.6+
  • fzf

Note: fzf must be installed and available on PATH.

Installation

pip install pyfzf

Usage

>>> from pyfzf import FzfPrompt
>>> fzf = FzfPrompt()

Simply pass a list of options to the prompt function to invoke fzf.

>>> fzf.prompt(range(0,10))

Pass additional arguments to fzf as a second argument

>>> fzf.prompt(range(0,10), '--multi --cycle')

License

MIT

Thanks

This project makes use of plumbum to interact with fzf.