Skip to content
Projects

jamesturk/jellyfish has 2,234 GitHub stars and 169 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-08 21:22 UTC. Last push 2026-10-16.

How these counts are measured

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

Measured star growth

in 24h
0
in 7 days
Update delayed
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Overview

jellyfish is a library for approximate & phonetic matching of strings.

Source: https://codeberg.org/jpt/jellyfish

Documentation: https://jpt.sh/projects/jellyfish/

Issues: https://codeberg.org/jpt/jellyfish/issues

PyPI badge

Included Algorithms

String comparison:

  • Levenshtein Distance
  • Damerau-Levenshtein Distance
  • Jaccard Index
  • 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')
2
>>> jellyfish.jaro_similarity('jellyfish', 'smellyfish')
0.89629629629629637
>>> jellyfish.damerau_levenshtein_distance('jellyfish', 'jellyfihs')
1

>>> jellyfish.metaphone('Jellyfish')
'JLFX'
>>> jellyfish.soundex('Jellyfish')
'J412'
>>> jellyfish.nysiis('Jellyfish')
'JALYF'
>>> jellyfish.match_rating_codex('Jellyfish')
'JLLFSH'

Explore related projects