pyfzf
=====
![](https://img.shields.io/badge/license-MIT-green.svg?style=flat)
![https://pypi.python.org/pypi/pyfzf](https://img.shields.io/pypi/dm/pyfzf.svg?style=flat)
##### A python wrapper for *junegunn*'s awesome [fzf](https://github.com/junegunn/fzf).
![](https://raw.githubusercontent.com/nk412/pyfzf/master/pyfzf.gif)
Requirements
------------
* Python 3.6+
* [fzf](https://github.com/junegunn/fzf)
*Note*: fzf must be installed and available on PATH.
Installation
------------
pip install pyfzf
Usage
-----
>>> from pyfzf.pyfzf import FzfPrompt
>>> fzf = FzfPrompt()
If `fzf` is not available on PATH, you can specify a location
>>> fzf = FzfPrompt('/path/to/fzf')
Simply pass a list of options to the prompt function to invoke fzf.
>>> fzf.prompt(range(0,10))
You can pass additional arguments to fzf as a second argument
>>> fzf.prompt(range(0,10), '--multi --cycle')
Input items are written to a temporary file which is then passed to fzf.
The items are delimited with `\n` by default, you can also change the delimiter
(useful for multiline items)
>>> fzf.prompt(range(0,10), '--read0', '\0')
License
-------
MIT
Thanks
------
@brookite for adding Windows support in v0.3.0
CHANGES
=======
2015.11.16: Initial release
Raw data
{
"_id": null,
"home_page": "https://github.com/nk412/pyfzf",
"name": "pyfzf",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Nagarjuna Kumarappan",
"author_email": "nagarjuna.412@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d4/4c/c0c658a1e1e9f0e01932990d7947579515fe048d0a515f07458ecd992b8f/pyfzf-0.3.1.tar.gz",
"platform": "",
"description": "pyfzf\n=====\n\n![](https://img.shields.io/badge/license-MIT-green.svg?style=flat)\n![https://pypi.python.org/pypi/pyfzf](https://img.shields.io/pypi/dm/pyfzf.svg?style=flat)\n \n##### A python wrapper for *junegunn*'s awesome [fzf](https://github.com/junegunn/fzf).\n\n![](https://raw.githubusercontent.com/nk412/pyfzf/master/pyfzf.gif)\n\nRequirements\n------------\n\n* Python 3.6+\n* [fzf](https://github.com/junegunn/fzf)\n\n*Note*: fzf must be installed and available on PATH.\n\nInstallation\n------------\n\tpip install pyfzf\n\nUsage\n-----\n >>> from pyfzf.pyfzf import FzfPrompt\n >>> fzf = FzfPrompt()\n\nIf `fzf` is not available on PATH, you can specify a location\n\n >>> fzf = FzfPrompt('/path/to/fzf')\n\nSimply pass a list of options to the prompt function to invoke fzf.\n\n >>> fzf.prompt(range(0,10))\n\nYou can pass additional arguments to fzf as a second argument\n\n >>> fzf.prompt(range(0,10), '--multi --cycle')\n\nInput items are written to a temporary file which is then passed to fzf.\nThe items are delimited with `\\n` by default, you can also change the delimiter\n(useful for multiline items)\n\n >>> fzf.prompt(range(0,10), '--read0', '\\0')\n\nLicense\n-------\nMIT\n\nThanks\n------\n@brookite for adding Windows support in v0.3.0\nCHANGES\n=======\n\n2015.11.16: Initial release\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python wrapper for junegunn's fuzzyfinder (fzf)",
"version": "0.3.1",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "99356a6c7b95390ec58904646a04f54e1b56fd57d7a247588b791c6331697797",
"md5": "35f904776c4b79fcb8e7c5aaf463046b",
"sha256": "736f71563461b75f6f85b55345bdc638fa0dc14c32c857c59e8b1ca1cfa3cf4a"
},
"downloads": -1,
"filename": "pyfzf-0.3.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "35f904776c4b79fcb8e7c5aaf463046b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4315,
"upload_time": "2022-03-01T11:43:49",
"upload_time_iso_8601": "2022-03-01T11:43:49.754959Z",
"url": "https://files.pythonhosted.org/packages/99/35/6a6c7b95390ec58904646a04f54e1b56fd57d7a247588b791c6331697797/pyfzf-0.3.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d44cc0c658a1e1e9f0e01932990d7947579515fe048d0a515f07458ecd992b8f",
"md5": "ab9b69963cbd91e8f8717b7064406506",
"sha256": "dd902e34cffeca9c3082f96131593dd20b4b3a9bba5b9dde1b0688e424b46bd2"
},
"downloads": -1,
"filename": "pyfzf-0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "ab9b69963cbd91e8f8717b7064406506",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3652,
"upload_time": "2022-03-01T11:43:51",
"upload_time_iso_8601": "2022-03-01T11:43:51.248237Z",
"url": "https://files.pythonhosted.org/packages/d4/4c/c0c658a1e1e9f0e01932990d7947579515fe048d0a515f07458ecd992b8f/pyfzf-0.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-03-01 11:43:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "nk412",
"github_project": "pyfzf",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pyfzf"
}