Python wrapper for junegunn's fzf. Let user interactively choose from given choices
Project description
fzf-wrapper
Python wrapper for junegunn's fzf. Let user interactively choose from given choices
fzf-wrapper is python multiplatform library without any other dependency then fzf itself. Recommended tool to improve user experience in your scripts.
Requirements
- Python 3.6+
- fzf
Install
pip install fzf-wrapper
Usage
from fzf_wrapper import prompt
prompt(['one', 'two', 'three'])
# Start fzf and return selected item / items in list
# eg. ['two']
You can add fzf arguments as second parameter:
prompt(['1', '2', '3'], '--multi --cycle')
Licence
MIT
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-wrapper-0.1.6.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for fzf_wrapper-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab6e2ef585f85c9615904ff27cc3166de334c1a4445b380bc2c7fd2f3533179d |
|
MD5 | fa956743826c58901104493438685eda |
|
BLAKE2b-256 | b5769c4b56be15cb29fd64bf43ec2ab52e4a4c7287aefe664cf54136efbeb2e8 |