skip to navigation
skip to content

jellyfish 0.3.1

a library for doing approximate and phonetic matching of strings.

Latest Version: 0.5.1

Jellyfish is a python library for doing approximate and phonetic matching of strings.

jellyfish is a project of Sunlight Labs (c) 2014. All code is released under a BSD-style license, see LICENSE for details.

Written by Michael Stephens <> and James Turk <>.

Contributions from Peter Scott.

Source is available at

Included Algorithms

String comparison:

  • Levenshtein Distance
  • Damerau-Levenshtein Distance
  • Jaro Distance
  • Jaro-Winkler Distance
  • Match Rating Approach Comparison
  • Hamming Distance

Phonetic encoding:

  • American Soundex
  • Metaphone
  • NYSIIS (New York State Identification and Intelligence System)
  • Match Rating Codex

Example Usage

>>> import jellyfish
>>> jellyfish.levenshtein_distance('jellyfish', 'smellyfish')
>>> jellyfish.jaro_distance('jellyfish', 'smellyfish')
>>> jellyfish.damerau_levenshtein_distance('jellyfish', 'jellyfihs')
>>> jellyfish.metaphone('Jellyfish')
>>> jellyfish.soundex('Jellyfish')
>>> jellyfish.nysiis('Jellyfish')
>>> jellyfish.match_rating_codex('Jellyfish')
File Type Py Version Uploaded on Size
jellyfish-0.3.1.tar.gz (md5) Source 2014-07-16 20KB
  • Downloads (All Versions):
  • 437 downloads in the last day
  • 2075 downloads in the last week
  • 11244 downloads in the last month