Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

A super simple MIT licensed fuzzy matching library

Project description

Fuzzy Matcher

A super simple MIT licensed fuzzy matching library to be used as an MIT alternative to Fuzzy Wuzzy which is GPL licensed. It is much less featured as Fuzzy Wuzzy, so if GPL is not blocking you, you should probably use Fuzzy Wuzzy instead.


from fuzzy_matcher import process
query = "orange"
val = ['blue', 'orange', 'brown', 'ornage', 'range', 'angel', 'gang', 'ang']
fuzzy = process.extract(query, val, limit=3, scorer='ratio')

should output:

[('orange', 100), ('range', 83), ('ornage', 66)]

Supported scorers

Only ratio and partial_ratio are supported at this time. Note that scores will not be the same as FuzzyWuzzy's.

Project details

Release history Release notifications

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
fuzzy_matcher-0.1.0.tar.gz (1.8 kB) Copy SHA256 hash SHA256 Source None

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 SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page