Skip to main content

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.7.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fzf_wrapper-0.1.7-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file fzf-wrapper-0.1.7.tar.gz.

File metadata

  • Download URL: fzf-wrapper-0.1.7.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for fzf-wrapper-0.1.7.tar.gz
Algorithm Hash digest
SHA256 51f30047f6f9fa4b98d346cf73f3647be27a43cf4b168072cf06e5fdeb98a6e3
MD5 9a0d146aa6c10d218b34ee582c0ac82b
BLAKE2b-256 461b01053a986bbae48433d79c06a81f3496b8c17deb42b2f444012ba2550da6

See more details on using hashes here.

File details

Details for the file fzf_wrapper-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: fzf_wrapper-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for fzf_wrapper-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d8080b43e14db68d24ef686fda061cc11d3b7e42748f416427b4c66100b639cd
MD5 bec1bf7d64edafde5514d384a78c92cd
BLAKE2b-256 766c80fe0790c5a34699668ff7f6819a77bfd236fdf6105feacd93be92e455af

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page