Skip to main content

a library for doing 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

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')
2
>>> jellyfish.jaro_distance('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-0.10.0.tar.gz (125.9 kB view details)

Uploaded Source

Built Distributions

jellyfish-0.10.0-cp311-cp311-win_amd64.whl (23.3 kB view details)

Uploaded CPython 3.11 Windows x86-64

jellyfish-0.10.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (51.8 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

jellyfish-0.10.0-cp311-cp311-macosx_10_9_universal2.whl (31.3 kB view details)

Uploaded CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)

jellyfish-0.10.0-cp310-cp310-win_amd64.whl (23.3 kB view details)

Uploaded CPython 3.10 Windows x86-64

jellyfish-0.10.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (51.1 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

jellyfish-0.10.0-cp310-cp310-macosx_11_0_x86_64.whl (20.8 kB view details)

Uploaded CPython 3.10 macOS 11.0+ x86-64

jellyfish-0.10.0-cp39-cp39-win_amd64.whl (23.3 kB view details)

Uploaded CPython 3.9 Windows x86-64

jellyfish-0.10.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (50.8 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

jellyfish-0.10.0-cp39-cp39-macosx_11_0_x86_64.whl (20.8 kB view details)

Uploaded CPython 3.9 macOS 11.0+ x86-64

jellyfish-0.10.0-cp38-cp38-win_amd64.whl (23.3 kB view details)

Uploaded CPython 3.8 Windows x86-64

jellyfish-0.10.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (51.9 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

jellyfish-0.10.0-cp38-cp38-macosx_10_15_x86_64.whl (20.8 kB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

jellyfish-0.10.0-cp37-cp37m-win_amd64.whl (23.3 kB view details)

Uploaded CPython 3.7m Windows x86-64

jellyfish-0.10.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (50.9 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

jellyfish-0.10.0-cp37-cp37m-macosx_10_15_x86_64.whl (20.8 kB view details)

Uploaded CPython 3.7m macOS 10.15+ x86-64

File details

Details for the file jellyfish-0.10.0.tar.gz.

File metadata

  • Download URL: jellyfish-0.10.0.tar.gz
  • Upload date:
  • Size: 125.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for jellyfish-0.10.0.tar.gz
Algorithm Hash digest
SHA256 c58d221cca1b91fe9afe8cf30a721904054533add4482075c9980c809f7d05bd
MD5 6bbdd2c56f6d916d5b62b1589a4faaaa
BLAKE2b-256 53e9798233c8fc1ddfac5c9bc16acb81c4dbf94273fc74e68c9a326705df6fc6

See more details on using hashes here.

File details

Details for the file jellyfish-0.10.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for jellyfish-0.10.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e083553d9b4a9f69f1ea454287ab878a2149e3a922b5a71c305dc83c966bb8ce
MD5 282630dc11780cecdc02dabf8ff85c5f
BLAKE2b-256 cf020b9a3467d8ebfbaea1a8e7bf8199390e31b60435bf6b987df5a82347d4e8

See more details on using hashes here.

File details

Details for the file jellyfish-0.10.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for jellyfish-0.10.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 834d1e1526f966c8e2f90ace36fe15b40f240469282dfceb19edfb0114d77c30
MD5 7847fca27c4a3014609f237c031449b0
BLAKE2b-256 a580049fa8323eb920260d88d86cc2dac976afb8b1cd10b56a9cc0e43ee164de

See more details on using hashes here.

File details

Details for the file jellyfish-0.10.0-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for jellyfish-0.10.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 087572c9be6a3a3e2192b8d32364e4ab03a7ed50d9bbea223725c8403203ab5a
MD5 1d36b03be1d2df6ded184e5729e4b89f
BLAKE2b-256 55436f3715d59e718d545905e425a4e6bf1711ca58b0bdec9180e67f40bd7b4e

See more details on using hashes here.

File details

Details for the file jellyfish-0.10.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for jellyfish-0.10.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 215d03d4f53a49b64e9f210d5a2f3adcbd6754e83e3cc47e23fd0b6e17910bb2
MD5 69f20f62b2f7eb5a453d78c6dd201272
BLAKE2b-256 cd4a7ecce688eecad175395b8813b770a5e8436b5ace58dbd94e3e91b91947f3

See more details on using hashes here.

File details

Details for the file jellyfish-0.10.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for jellyfish-0.10.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6cd15db9c65658c2bbb4814f8446944faabd73171acaa9febcb29fea7e23d0b6
MD5 7ab45b0f089a3493be9ba66ee6df6c09
BLAKE2b-256 4cf263e18246ccc0472805dfdf4f87726d154d5c895b03b18801375e50447ab9

See more details on using hashes here.

File details

Details for the file jellyfish-0.10.0-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for jellyfish-0.10.0-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 184aa2f3d88105c020b4fdc9659b7fb2939a2d33b2afed68e8a686046a260ddc
MD5 242c04eec1a64f8fbab80cc69c4a3cb5
BLAKE2b-256 29ea408661be94de29a6ec2d869faa9537d4302b1721dcb49f31d30f18fec51d

See more details on using hashes here.

File details

Details for the file jellyfish-0.10.0-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for jellyfish-0.10.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 8b4180769ff3172e7da79f9acf7cabbfc04467cf64e640fba4fb4e6367e28309
MD5 35082ddcfd3c65d8c1f3dff9fa6609ac
BLAKE2b-256 fe4494ad725b9b7a0db8c61465c3ceaa07d6b1e08bee850983182e67a8f57e09

See more details on using hashes here.

File details

Details for the file jellyfish-0.10.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for jellyfish-0.10.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 63001fabcf7b166b86e2cdc1181137a80b35f08d1eab49fbd1107120d090752c
MD5 5d0f6259416e8087593ca577d205999b
BLAKE2b-256 9ac599defb8a6550bf8d214303d4f4d08bbef10409a5abdf46ed279b640b65af

See more details on using hashes here.

File details

Details for the file jellyfish-0.10.0-cp39-cp39-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for jellyfish-0.10.0-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 3905d8b2d563ee19b5af8da6aad1f61bb69c9eecc22167e3872d72ecf9325280
MD5 d01540beccbc880813f2bfa714d6275f
BLAKE2b-256 fc1a1f13ca8bf5253508c71950c4d0f2d6cc9b2381ef0943f6d7a379bc2b0643

See more details on using hashes here.

File details

Details for the file jellyfish-0.10.0-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for jellyfish-0.10.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 84cf3f25d2c3578a4f182c14f6462cb497a87269fef95e3ebda44cd8bb0b8eea
MD5 4e9dbba7e4559c356ae03dbde8fe4d93
BLAKE2b-256 c69e8fb8b5ceab6c302dc6d4f93ee6afeb1eeff62175a381154b199618f29eed

See more details on using hashes here.

File details

Details for the file jellyfish-0.10.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for jellyfish-0.10.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9b14199a698cb8e4386cf722bd00ae094723b3c3b4c7f42fe08659f2c0d8a278
MD5 5c2b5485c24afefa4f3269d40c83d1f1
BLAKE2b-256 c1306b4c24fe6d2c494f48f4615213b6603cb0381875b50d8c4554d2e04fc5c8

See more details on using hashes here.

File details

Details for the file jellyfish-0.10.0-cp38-cp38-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for jellyfish-0.10.0-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 6bed4c8938decbbdae61120c52bde9da9aa98e25a112a0a6bcae02be3845430c
MD5 ef33dd19988ca28c0af56708a2b2876f
BLAKE2b-256 44d699c9d9ddb0319f256c638761f5086b6be3e2e171c13e0972cb8972d84d71

See more details on using hashes here.

File details

Details for the file jellyfish-0.10.0-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for jellyfish-0.10.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 7504aaf29f6a54ddf35fcdb165cd7aac6c0cdc012331bc510a86030893484e0a
MD5 024e65d92a433c46c6d39b3b53df79a2
BLAKE2b-256 368301387e74fa171f2874db31a78fc41ce066a0e1bfb9a1a897b45922691694

See more details on using hashes here.

File details

Details for the file jellyfish-0.10.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for jellyfish-0.10.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5563983cc01990fc5f29f803a140a87ac93762e10f4ed695d9ecce2769788276
MD5 6c3ae64d2e60a8086dcdec6ba5bb57c1
BLAKE2b-256 f2a0065e3ee201e731c0f71f1d4ec9897455d4eeb22f5b66df3e1aa11787987f

See more details on using hashes here.

File details

Details for the file jellyfish-0.10.0-cp37-cp37m-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for jellyfish-0.10.0-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 dfe4636e5c6f5ee8b56398845268e651ec958715a4148b0bad450f757c5b60b3
MD5 8dfd97aaacd52a522ce05b907a1214f7
BLAKE2b-256 4f41f37a98bc120aefa43cd29fd71dc5f9f494a6a3d6e08a570b0e5ba72e6024

See more details on using hashes here.

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