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 multiplatform and pure python library. Recommended tool to improve user experience with 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.1.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for fzf_wrapper-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 216334f2941f2aa9615f6a3bc3aac61e71b7f65a30c2cede6530acd9e2624b6c |
|
MD5 | 9507c7789271766136bf23e7ea488b66 |
|
BLAKE2b-256 | 7e5b98dbab0018af8eac56260dbff9771dd073f5a7171108ffd20c372acbd70d |