{
 "kind": "tool",
 "slug": "python-levenshtein",
 "path": "tools/python-levenshtein/",
 "name": "python-Levenshtein",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "ML and data science",
   "tools/ml-data-science/"
  ]
 ],
 "lead": "Fast C implementation for computing string edit distances and similarity metrics.",
 "chips": [
  {
   "label": "ML and data science",
   "path": "tools/ml-data-science/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install python-levenshtein"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/rapidfuzz/python-Levenshtein"
  },
  {
   "label": "Website",
   "href": "https://github.com/rapidfuzz/python-Levenshtein"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "GPL-2.0-or-later",
   "status": "cond",
   "sub": "Share your code if you ship it",
   "quote": null,
   "note": "License from PyPI license field.",
   "src": "https://github.com/rapidfuzz/python-Levenshtein"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Sep 12, 2026",
   "note": "Latest GitHub release Sep 12, 2026. ",
   "src": "https://github.com/rapidfuzz/python-Levenshtein"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "6 projects",
   "status": "info",
   "sub": "#54 of 293 in its category",
   "note": "Dependency in 6 public GitHub projects set up for AI coding agents that we scanned (0.1%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What python-Levenshtein does",
   "parts": [
    {
     "t": "prose",
     "text": "Fast C implementation for computing string edit distances and similarity metrics."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "python-Levenshtein popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "48",
       "of": "/ 100",
       "l": "Gid Score, #2222 overall"
      },
      {
       "n": "3.6M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "127",
       "l": "GitHub stars"
      },
      {
       "n": "6",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How python-Levenshtein is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "python-Levenshtein is a dependency in 6 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 54 projects, and what it is used with below comes from all of them.",
      "Projects that use it most often also use python-dotenv (77.8%), Requests (68.5%), pandas (64.8%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 77.8% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 68.5% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 64.8% of its projects",
       "v": "pandas",
       "path": "tools/pandas/"
      },
      {
       "l": "In 61.1% of its projects",
       "v": "FuzzyWuzzy",
       "path": "tools/fuzzywuzzy/"
      },
      {
       "l": "In 57.4% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 55.6% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "OpenAI Python Library",
       "path": "tools/openai-pypi/"
      },
      {
       "l": "In 48.1% of its projects",
       "v": "Pillow",
       "path": "tools/pillow/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about python-Levenshtein",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/maxbachmann",
        "Own page: https://www.paypal.com/donate/?hosted_button_id=VGWQBBD5CTWJU",
        "2 GitHub sponsors"
       ]
      },
      {
       "title": "More in ML and data science",
       "path": "tools/ml-data-science/",
       "items": [
        {
         "text": "NumPy",
         "path": "tools/numpy/"
        },
        {
         "text": "pandas",
         "path": "tools/pandas/"
        },
        {
         "text": "scikit-learn",
         "path": "tools/scikit-learn/"
        },
        {
         "text": "SciPy",
         "path": "tools/scipy/"
        },
        {
         "text": "PyTorch",
         "path": "tools/torch/"
        },
        {
         "text": "Sentence Transformers",
         "path": "tools/sentence-transformers/"
        },
        {
         "text": "Hugging Face Transformers",
         "path": "tools/transformers/"
        },
        {
         "text": "Chroma (Python)",
         "path": "tools/chromadb-pypi/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "python-Levenshtein",
       "me": true,
       "facts": [
        "GPL-2.0-or-later",
        "Gid 48",
        "3.6M/wk"
       ]
      }
     ],
     "more": "Compare python-Levenshtein with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install python-levenshtein"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for python-Levenshtein yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi python-levenshtein"
  ],
  [
   "Category",
   "ML and data science"
  ],
  [
   "License",
   "GPL-2.0-or-later"
  ],
  [
   "Gid Score",
   "47.9"
  ],
  [
   "Rank in category",
   "#54 of 293"
  ],
  [
   "GitHub",
   "rapidfuzz/python-Levenshtein"
  ],
  [
   "Last change",
   "Sep 12, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/rapidfuzz.png"
}