Skip to main content

No project description provided

Project description

# Fuzzy Picker
This package is a thin wrapper providing interactive capability for the
excellent [FuzzyWuzzy Python Library](https://github.com/seatgeek/fuzzywuzzy).

## Installation
```
pip install fuzzypicker
```

## Usage

Fuzzy picker is intended to be used in your console scripts. Let's say that you
had a script that needed to select from a variety of options. As an example,
let's say you want your users to choose from a selection of movies.

Simply place the following code in a file called `doit.py` and execute it.
You will see the interactive display shown below.

```python
from fuzzypicker import picker

movies = [
'Rachel Getting Married',
'Penelope',
'P.S. I Love You',
'Over Her Dead Body',
'Our Family Wedding',
'One Day',
'Not Easily Broken',
'No Reservations',
'My Week with Marilyn',
'Music and Lyrics',
'Monte Carlo',
'Miss Pettigrew Lives for a Day',
'Midnight in Paris',
'Marley and Me',
'Mamma Mia!',
'Made of Honor',
'Love Happens',
'Love & Other Drugs',
'Life as We Know It',
]

print(f'selected_movie = {picker(movies)}')
```
![Alt Text](https://github.com/robdmc/fuzzypicker/blob/master/fuzzypicker.gif)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
fuzzypicker-0.1.2.tar.gz (5.7 kB) Copy SHA256 hash SHA256 Source None May 9, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page