Skip to main content

Python wrapper for junegunn's fuzzyfinder (fzf)

Project description


![]( ![](

##### A python wrapper for junegunn’s awesome [fzf](



Note: fzf must be installed and available on PATH.


pip install pyfzf


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

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

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

You can pass additional arguments to fzf as a second argument

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

Input items are written to a temporary file which is then passed to fzf. The items are delimited with n by default, you can also change the delimiter (useful for multiline items)

>>> fzf.prompt(list(range(0,10)), '--read0', '\0')




This project makes use of [plumbum]( to interact with [fzf](


2015.11.16: Initial release

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyfzf, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size pyfzf-0.2.2-py3-none-any.whl (4.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyfzf-0.2.2.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page