Registry / data / pyjarowinkler

pyjarowinkler

JSON →
library3.0.0pypypi✓ verified 86d ago

pyjarowinkler is a Python library that calculates the Jaro-Winkler Distance, a measure of similarity between two strings. It's useful for tasks like spell-checking, record linkage, and data deduplication. The current version is 3.0.0, and it has a reasonably active release cadence.

pip install pyjarowinkler
INSTALL
IMPORT
SIG · PYJAROWINKLER
P
pyjarowinkler
datapythonv3.0.0
Install
1.6s avg
Import
—
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v3.0.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.920 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.9MB
glibc
py 3.10–3.920 runs
installs and imports cleanly · install 1.6s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JaroDistanceError
✓ from pyjarowinkler import JaroDistanceError
✗ from jarowinkler import jaro_winkler_distance

This example demonstrates how to import and use the `jaro_winkler_distance` function to calculate the similarity between two strings. The score ranges from 0 (no similarity) to 1 (exact match).

from jarowinkler import jaro_winkler_distance string1 = "MARTHA" string2 = "MARHTA" similarity_score = jaro_winkler_distance(string1, string2) print(f"Jaro-Winkler Similarity between '{string1}' and '{string2}': {similarity_score}") string3 = "DWAYNE" string4 = "DUANE" similarity_score_2 = jaro_winkler_distance(string3, string4) print(f"Jaro-Winkler Similarity between '{string3}' and '{string4}': {similarity_score_2}")
Debug
Known issues
breakingThe primary function `get_jaro_distance` was renamed to `jaro_winkler_distance`.
fix
Update calls from `get_jaro_distance(s1, s2)` to `jaro_winkler_distance(s1, s2)`.
affects: <2.0.0
breakingThe minimum required Python version was updated from 3.6 to 3.10.
fix
Ensure your environment is running Python 3.10 or newer. For older Python versions, use `pyjarowinkler<3.0.0` (e.g., `pip install 'pyjarowinkler<3.0.0'`).
affects: >=3.0.0
gotchaThe package name is `pyjarowinkler`, but the main module to import from is `jarowinkler`.
fix
Always use `from jarowinkler import ...` for imports, not `from pyjarowinkler import ...`.
affects: All versions
Upgrade
Version history
3.0.0latest on PyPI · released Dec 6, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
pyjarowinkler — pip install pyjarowinkler · libregistry