Python bindings for fzf
Project description
fzf.py
Better Python bindings for the command-line fuzzy-finder
fzf
.
Installation
pip install fzf.py
Usage
fzf.py
can be used as a class instance or a function decorator.
from fzf import Fzf, fzf
As a class instance:
chooser = Fzf()
choices = chooser.prompt([1, 2, 3])
As a function decorator:
@fzf()
def example():
return [1, 2, 3]
choices = example()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fzf.py-0.0.1.tar.gz
(5.0 kB
view details)
File details
Details for the file fzf.py-0.0.1.tar.gz
.
File metadata
- Download URL: fzf.py-0.0.1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71bbe6174b46a44ec107b9b8cae6bb2c310e62291f4d3633245f0b6f5f66b033 |
|
MD5 | c5a67361dabd6752d303f1031ed7aed5 |
|
BLAKE2b-256 | d47a7eb7feb9715f7eaa11b8d7683b1dbdb75fa5ff077565c6f2e70f5c6b8989 |