Skip to main content

Approximate and phonetic matching of strings.

Project description

Overview

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

Source: https://github.com/jamesturk/jellyfish

Documentation: https://jamesturk.github.io/jellyfish/

Issues: https://github.com/jamesturk/jellyfish/issues

PyPI badge Test badge Coveralls Test Rust

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'

Project details


Download files

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

Source Distribution

jellyfish-1.1.0.tar.gz (364.4 kB view hashes)

Uploaded Source

Built Distributions

jellyfish-1.1.0-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl (508.6 kB view hashes)

Uploaded PyPy musllinux: musl 1.1+ x86-64

jellyfish-1.1.0-pp310-pypy310_pp73-musllinux_1_1_i686.whl (531.3 kB view hashes)

Uploaded PyPy musllinux: musl 1.1+ i686

jellyfish-1.1.0-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl (527.3 kB view hashes)

Uploaded PyPy musllinux: musl 1.1+ ARM64

jellyfish-1.1.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (337.6 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

jellyfish-1.1.0-pp310-pypy310_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (345.5 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARMv7l

jellyfish-1.1.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (348.1 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

jellyfish-1.1.0-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl (509.6 kB view hashes)

Uploaded PyPy musllinux: musl 1.1+ x86-64

jellyfish-1.1.0-pp39-pypy39_pp73-musllinux_1_1_i686.whl (532.4 kB view hashes)

Uploaded PyPy musllinux: musl 1.1+ i686

jellyfish-1.1.0-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl (528.0 kB view hashes)

Uploaded PyPy musllinux: musl 1.1+ ARM64

jellyfish-1.1.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (339.0 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

jellyfish-1.1.0-pp39-pypy39_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (346.5 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARMv7l

jellyfish-1.1.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (349.2 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

jellyfish-1.1.0-pp39-pypy39_pp73-macosx_11_0_arm64.whl (305.9 kB view hashes)

Uploaded PyPy macOS 11.0+ ARM64

jellyfish-1.1.0-pp39-pypy39_pp73-macosx_10_12_x86_64.whl (309.0 kB view hashes)

Uploaded PyPy macOS 10.12+ x86-64

jellyfish-1.1.0-pp38-pypy38_pp73-musllinux_1_1_x86_64.whl (509.8 kB view hashes)

Uploaded PyPy musllinux: musl 1.1+ x86-64

jellyfish-1.1.0-pp38-pypy38_pp73-musllinux_1_1_i686.whl (532.4 kB view hashes)

Uploaded PyPy musllinux: musl 1.1+ i686

jellyfish-1.1.0-pp38-pypy38_pp73-musllinux_1_1_aarch64.whl (528.0 kB view hashes)

Uploaded PyPy musllinux: musl 1.1+ ARM64

jellyfish-1.1.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (338.9 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

jellyfish-1.1.0-pp38-pypy38_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (346.5 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARMv7l

jellyfish-1.1.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (349.2 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

jellyfish-1.1.0-pp38-pypy38_pp73-macosx_11_0_arm64.whl (306.0 kB view hashes)

Uploaded PyPy macOS 11.0+ ARM64

jellyfish-1.1.0-pp38-pypy38_pp73-macosx_10_12_x86_64.whl (308.9 kB view hashes)

Uploaded PyPy macOS 10.12+ x86-64

jellyfish-1.1.0-cp313-cp313-musllinux_1_1_x86_64.whl (509.0 kB view hashes)

Uploaded CPython 3.13 musllinux: musl 1.1+ x86-64

jellyfish-1.1.0-cp313-cp313-musllinux_1_1_i686.whl (532.0 kB view hashes)

Uploaded CPython 3.13 musllinux: musl 1.1+ i686

jellyfish-1.1.0-cp313-cp313-musllinux_1_1_aarch64.whl (527.0 kB view hashes)

Uploaded CPython 3.13 musllinux: musl 1.1+ ARM64

jellyfish-1.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (344.1 kB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ x86-64

jellyfish-1.1.0-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (350.0 kB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ ARMv7l

jellyfish-1.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (343.4 kB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ ARM64

jellyfish-1.1.0-cp313-cp313-macosx_11_0_arm64.whl (310.8 kB view hashes)

Uploaded CPython 3.13 macOS 11.0+ ARM64

jellyfish-1.1.0-cp313-cp313-macosx_10_12_x86_64.whl (314.6 kB view hashes)

Uploaded CPython 3.13 macOS 10.12+ x86-64

jellyfish-1.1.0-cp312-none-win_amd64.whl (206.9 kB view hashes)

Uploaded CPython 3.12 Windows x86-64

jellyfish-1.1.0-cp312-none-win32.whl (201.2 kB view hashes)

Uploaded CPython 3.12 Windows x86

jellyfish-1.1.0-cp312-cp312-musllinux_1_1_x86_64.whl (506.7 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ x86-64

jellyfish-1.1.0-cp312-cp312-musllinux_1_1_i686.whl (529.6 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ i686

jellyfish-1.1.0-cp312-cp312-musllinux_1_1_aarch64.whl (525.0 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ ARM64

jellyfish-1.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.8 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

jellyfish-1.1.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (343.9 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARMv7l

jellyfish-1.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (346.3 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

jellyfish-1.1.0-cp312-cp312-macosx_11_0_arm64.whl (302.9 kB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

jellyfish-1.1.0-cp312-cp312-macosx_10_12_x86_64.whl (306.4 kB view hashes)

Uploaded CPython 3.12 macOS 10.12+ x86-64

jellyfish-1.1.0-cp311-none-win_amd64.whl (207.3 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

jellyfish-1.1.0-cp311-none-win32.whl (201.4 kB view hashes)

Uploaded CPython 3.11 Windows x86

jellyfish-1.1.0-cp311-cp311-musllinux_1_1_x86_64.whl (506.6 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

jellyfish-1.1.0-cp311-cp311-musllinux_1_1_i686.whl (529.6 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

jellyfish-1.1.0-cp311-cp311-musllinux_1_1_aarch64.whl (525.0 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ ARM64

jellyfish-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (336.0 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

jellyfish-1.1.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (343.9 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARMv7l

jellyfish-1.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (346.5 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

jellyfish-1.1.0-cp311-cp311-macosx_11_0_arm64.whl (303.1 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

jellyfish-1.1.0-cp311-cp311-macosx_10_12_x86_64.whl (306.9 kB view hashes)

Uploaded CPython 3.11 macOS 10.12+ x86-64

jellyfish-1.1.0-cp310-none-win_amd64.whl (207.3 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

jellyfish-1.1.0-cp310-none-win32.whl (201.4 kB view hashes)

Uploaded CPython 3.10 Windows x86

jellyfish-1.1.0-cp310-cp310-musllinux_1_1_x86_64.whl (506.8 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

jellyfish-1.1.0-cp310-cp310-musllinux_1_1_i686.whl (529.6 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

jellyfish-1.1.0-cp310-cp310-musllinux_1_1_aarch64.whl (525.2 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ ARM64

jellyfish-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (336.0 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

jellyfish-1.1.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (343.9 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARMv7l

jellyfish-1.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (346.6 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

jellyfish-1.1.0-cp310-cp310-macosx_11_0_arm64.whl (303.2 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

jellyfish-1.1.0-cp310-cp310-macosx_10_12_x86_64.whl (306.8 kB view hashes)

Uploaded CPython 3.10 macOS 10.12+ x86-64

jellyfish-1.1.0-cp39-none-win_amd64.whl (207.3 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

jellyfish-1.1.0-cp39-none-win32.whl (201.5 kB view hashes)

Uploaded CPython 3.9 Windows x86

jellyfish-1.1.0-cp39-cp39-musllinux_1_1_x86_64.whl (507.3 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

jellyfish-1.1.0-cp39-cp39-musllinux_1_1_i686.whl (529.7 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ i686

jellyfish-1.1.0-cp39-cp39-musllinux_1_1_aarch64.whl (525.5 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ ARM64

jellyfish-1.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (336.4 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

jellyfish-1.1.0-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (344.1 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARMv7l

jellyfish-1.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (346.5 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

jellyfish-1.1.0-cp39-cp39-macosx_11_0_arm64.whl (303.4 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

jellyfish-1.1.0-cp39-cp39-macosx_10_12_x86_64.whl (307.1 kB view hashes)

Uploaded CPython 3.9 macOS 10.12+ x86-64

jellyfish-1.1.0-cp38-none-win_amd64.whl (207.0 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

jellyfish-1.1.0-cp38-none-win32.whl (201.2 kB view hashes)

Uploaded CPython 3.8 Windows x86

jellyfish-1.1.0-cp38-cp38-musllinux_1_1_x86_64.whl (507.0 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

jellyfish-1.1.0-cp38-cp38-musllinux_1_1_i686.whl (529.5 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ i686

jellyfish-1.1.0-cp38-cp38-musllinux_1_1_aarch64.whl (525.3 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ ARM64

jellyfish-1.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (336.2 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

jellyfish-1.1.0-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (343.6 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARMv7l

jellyfish-1.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (346.7 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

jellyfish-1.1.0-cp38-cp38-macosx_11_0_arm64.whl (303.2 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

jellyfish-1.1.0-cp38-cp38-macosx_10_12_x86_64.whl (307.0 kB view hashes)

Uploaded CPython 3.8 macOS 10.12+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page