Skip to main content

[![Build Status](https://travis-ci.org/timeyyy/piefuzz.svg)](https://travis-ci.org/timeyyy/piefuzz)

##### A python wrapper for junegunn’s awesome [fzf](https://github.com/junegunn/fzf).

This is a fork from pyfzf, the main difference is we operate in a non interactive mode. We also work exclusivley on python3, instead of exclusivley on python2…

Requirements

Installation

pip install piefuzz

Usage

>>> from piefuzz import Fzf
>>> fzf = Fzf()

Defaults to searching the path for fzf, you may also specify a path

A SystemError is thrown if fzf cannot be found

>>> fzf = Fzf(fzf_path='/here/fzf')

To fuzz through a file with items seperated by newlines

>>> result = fzf.fuzz(query, input_path='path/to/file.txt')

otherwise an iterable of strings

>>> result = fzf.fuzz(query, input_list=['abc', 'def'])

output is a newline deliminated utf-8 string

License

MIT

Thanks

This project makes use of [plumbum](http://plumbum.readthedocs.org/) to interact with [fzf](https://github.com/junegunn/fzf).

Definitley check it out nice stuff!

Release files for piefuzz 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for piefuzz 1.0.4
File Size Uploaded
piefuzz-1.0.4.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for piefuzz 1.0.4
File Interpreter ABI Platform
piefuzz-1.0.4-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 7.4 kB

Release files / piefuzz-1.0.4.tar.gz

Download URL piefuzz-1.0.4.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2dcc7019fc17e7804b155600a92ca19618a44a4e17168fa11218fb9ac1ec9fbc
BLAKE2b-256 checksum
How to use checksums
ebca0d06a664abd5efdbd74ee636b73a72fc657fbc08783ac6744a09f73797ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / piefuzz-1.0.4-py2.py3-none-any.whl

Download URL piefuzz-1.0.4-py2.py3-none-any.whl
Size 5.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f8d597bafb826488f8c918019a00965a3b9a4a5cdbb041173c3a49ce1af14546
BLAKE2b-256 checksum
How to use checksums
aed6e30386b84d77eb9dc3a55eeb77946598f671ef85612f2cb92d33cbe2154a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page