Python wrapper to fzf tool. Let user interactively choose from given choices
Project description
fzf-wrapper
Python wrapper to fzf tool. 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.2.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for fzf_wrapper-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11d37b8cdf03207eef01b9ff4b96428816a9d9e8d6e5f8250eed800d47bb036a |
|
MD5 | 5508bba3baf4f96ae3765df848443ae3 |
|
BLAKE2b-256 | c5f14e82cf12e420f715b2d31db5dd5e3300f5454ce562e06b4ec702f283d092 |