RapidFuzz and Flookup Data Wrangler side by side

By Andrew Apell, creator of Flookup Data Wrangler. Published

Key Takeaways

  • RapidFuzz needs a Python environment on the Mac, installed with two Terminal commands, and returns a number you must interpret.
  • The copy-paste script prints 72.0, 84.2 and 86.5 for three sample pairs, so a single threshold gives inconsistent decisions.
  • Flookup is installed from the Workspace Marketplace in a browser and writes scores beside the source rows for review.
  • A Python script reads the pairs from a local file when you run it on your Mac, while Flookup handles the sheet data in your Google account under the add-on terms.

Three sample pairs run through a local Python script and a scored sheet review.

RouteExact call
Pythonfuzz.ratio(normalise(left), normalise(right))
Sheets=FUZZYSIM(A2,B2)

What you should see: 72.0, 84.2 and 86.5 from Python, and bands that put the legal suffix pair in review.


What You Will Compare

Both tools answer the same question: how close are these two strings? RapidFuzz answers it in code with a scorer you choose. Flookup answers it in a sheet with a score beside each row. This page sets up both on a Mac and runs the same three pairs through each one.


RapidFuzz Setup on a Mac

  1. Download Python 3 from python.org and run the installer. The standard macOS package includes pip.
  2. Open Applications, Utilities, Terminal.
  3. Run python3 -m pip install rapidfuzz. The wheel is prebuilt, so no Xcode command line tools are required.
  4. Confirm the install with python3 -c "import rapidfuzz; print(rapidfuzz.__version__)".

If you use a managed Mac where Terminal installs are blocked, ask IT for an approved Python environment or use a virtual environment in a folder you own.


Copy and Paste the Scorer

Save this as score.py in a folder and run python3 score.py.

from rapidfuzz import fuzz

def normalise(value):
    return str(value).lower().strip()

pairs = [
    ("Acme Corp", "ACME Corporation"),
    ("John Smith", "Jon Smyth"),
    ("Northwind Traders", "Northwind Trader Ltd"),
]

for left, right in pairs:
    print(f"{left} | {right} | {fuzz.ratio(normalise(left), normalise(right)):.1f}")

Expected output:

Acme Corp | ACME Corporation | 72.0
John Smith | Jon Smyth | 84.2
Northwind Traders | Northwind Trader Ltd | 86.5

The lowest score belongs to the pair that differs only by a legal suffix and the highest belongs to a pair with a real spelling change. That inversion is the reason a scorer choice and a normalisation step matter more than a single threshold.


Flookup Setup in the Browser

  1. Open a Google Sheet in Safari or Chrome on the Mac.
  2. Open Extensions, Add-ons, Get add-ons.
  3. Search for Flookup Data Wrangler and select Install, then approve the requested permissions.
  4. Reload the sheet. Flookup appears under Extensions and its functions become available as cell formulas.

No local install, Python environment or compiler is involved. The trade-off is that the work happens inside Google Sheets rather than in a script you can schedule independently.


Score the Same Pairs in Sheets

Put the three left values in A2:A4 and the three right values in B2:B4. In C2 enter =FUZZYSIM(A2,B2) and fill down. The review sheet shows a score beside every pair, so a borderline row can be judged while the source values are still visible.

A threshold is the score a pair must reach before you accept it. With a threshold of 0.80, the Flookup review sheet shows these bands:

PairBandDecision
Acme Corp / ACME CorporationReviewStrip the legal suffix, then accept
John Smith / Jon SmythReviewCheck a second field
Northwind Traders / Northwind Trader LtdAcceptStandardise the trailing s

The exact Flookup score depends on the strategy selected in the sidebar, so it need not match the RapidFuzz numbers digit for digit. Both routes show the same ordering problem: the legal suffix pair is harder than the spelling pair. Apply a standardisation pass before either scorer.


Comparison Table

AspectRapidFuzzFlookup Data Wrangler
Where it runsIn a Python process, on the Mac or on a server you controlIn Google Sheets through a browser add-on
Setup on a MacPython install plus pip install rapidfuzzWorkspace Marketplace install in the browser
OutputA number returned by a function, written where your code saysA score in a sheet column beside the source values
ReproducibilityPin the version and the scorer and the result is testableRecord the strategy and threshold in the review sheet
Large listsFast in C++ for a batch scored in one runLimited by the sheet size and the add-on processing time
Where data is handledWherever the script runs, which may include a shared serverBy the add-on under its published terms, inside your Google account

The privacy row is deliberately neutral. A script does not automatically keep data local, because it may run on a server, and an add-on does not automatically keep data inside a sheet, because the add-on provider handles it. Read the relevant terms and privacy policy before processing personal data with either tool.


Choosing Between Them

Choose RapidFuzz when the score is part of a program, when you need to pin an exact scorer for an audit or when the list is too large for a sheet. Choose Flookup when a person has to review the pairs and the data already lives in a spreadsheet. A mixed workflow is common: generate scored candidates in Python, then review the borderline rows in a sheet.


Frequently Asked Questions

How do I install RapidFuzz on a Mac?

Install Python 3 from python.org, open Terminal and run python3 -m pip install rapidfuzz. Confirm with python3 -c "import rapidfuzz; print(rapidfuzz.__version__)". No compiler or Xcode tools are needed for the standard wheel.

What does the copy-paste script print?

After lowercasing, fuzz.ratio returns 72.0 for Acme Corp against ACME Corporation, 84.2 for John Smith against Jon Smyth and 86.5 for Northwind Traders against Northwind Trader Ltd. Those numbers come from the script printed on this page.

Can Flookup replace RapidFuzz?

For spreadsheet cleaning, yes, because it scores pairs and writes a review sheet inside the sheet. For a scripted batch job that feeds another program, RapidFuzz is the right tool. The two can be used together: score candidates in Python and review the borderline rows in a sheet.

Where is the data processed?

A RapidFuzz script processes data wherever Python runs, which may be your Mac or a server. Flookup is a Google Sheets add-on, so the sheet data is handled by the add-on under its own terms. Check the add-on privacy policy before putting personal data into any third-party tool.


You Might Also Like

About the Author

Andrew Apell is the creator of Flookup Data Wrangler and has built data cleaning tools for Google Sheets since 2018.
Every Flookup result described here can be checked in the documentation.
Read Our Story for the background or contact the team with any questions about this post, including corrections, unclear steps or use cases we have not covered yet.