{"id":13590658,"url":"https://github.com/ztane/python-Levenshtein","last_synced_at":"2025-04-08T13:31:49.217Z","repository":{"id":39969190,"uuid":"14802245","full_name":"ztane/python-Levenshtein","owner":"ztane","description":"The Levenshtein Python C extension module contains functions for fast computation of Levenshtein distance and string similarity","archived":false,"fork":true,"pushed_at":"2021-08-11T16:38:39.000Z","size":153,"stargazers_count":1245,"open_issues_count":57,"forks_count":157,"subscribers_count":31,"default_branch":"master","last_synced_at":"2024-04-14T12:11:50.076Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"miohtama/python-Levenshtein","license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ztane.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.txt","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-29T13:40:48.000Z","updated_at":"2024-04-04T11:12:31.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ztane/python-Levenshtein","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ztane%2Fpython-Levenshtein","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ztane%2Fpython-Levenshtein/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ztane%2Fpython-Levenshtein/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ztane%2Fpython-Levenshtein/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ztane","download_url":"https://codeload.github.com/ztane/python-Levenshtein/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247851743,"owners_count":21006809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T16:00:49.259Z","updated_at":"2025-04-08T13:31:44.202Z","avatar_url":"https://github.com/ztane.png","language":"C","readme":".. contents ::\n\nMaintainer wanted\n-----------------\n\n|MaintainerWanted|_\n\n.. |MaintainerWanted| image:: https://img.shields.io/badge/maintainers-wanted-red.svg\n.. _MaintainerWanted: https://github.com/pickhardt/maintainers-wanted\n\nI am looking for a new maintainer to the project as it is apparent that I\nhaven't had the need for this particular library for well over 7 years now,\ndue to it being a C-only library and its somewhat restrictive original license.\n\nIntroduction\n------------\n\nThe Levenshtein Python C extension module contains functions for fast\ncomputation of\n\n* Levenshtein (edit) distance, and edit operations\n\n* string similarity\n\n* approximate median strings, and generally string averaging\n\n* string sequence and set similarity\n\nIt supports both normal and Unicode strings.\n\nPython 2.2 or newer is required; Python 3 is supported.\n\nStringMatcher.py is an example SequenceMatcher-like class built on the top of\nLevenshtein.  It misses some SequenceMatcher's functionality, and has some\nextra OTOH.\n\nLevenshtein.c can be used as a pure C library, too.  You only have to define\nNO_PYTHON preprocessor symbol (-DNO_PYTHON) when compiling it.  The\nfunctionality is similar to that of the Python extension.  No separate docs\nare provided yet, RTFS.  But they are not interchangeable:\n\n* C functions exported when compiling with -DNO_PYTHON (see Levenshtein.h)\n  are not exported when compiling as a Python extension (and vice versa)\n\n* Unicode character type used with -DNO_PYTHON is wchar_t, Python extension\n  uses Py_UNICODE, they may be the same but don't count on it\n\nInstallation\n------------\n\n::\n\n   pip install python-Levenshtein\n\nDocumentation\n--------------\n\n* `Documentation for the current version \u003chttps://rawgit.com/ztane/python-Levenshtein/master/docs/Levenshtein.html\u003e`_\n\ngendoc.sh generates HTML API documentation,\nyou probably want a selfcontained instead of includable version, so run\nin ``./gendoc.sh --selfcontained``.  It needs Levenshtein already installed\nand genextdoc.py.\n\nLicense\n-------\n\nLevenshtein is free software; you can redistribute it and/or modify it\nunder the terms of the GNU General Public License as published by the Free\nSoftware Foundation; either version 2 of the License, or (at your option)\nany later version.\n\nSee the file COPYING for the full text of GNU General Public License version 2.\n\nHistory\n-------\n\nThis package was long missing from the Python Package Index and available as source checkout only, but can now `be found on PyPI again \u003chttps://pypi.python.org/pypi/python-Levenshtein\u003e`_.\n\nWe needed to restore this package for `Go Mobile for Plone \u003chttp://webandmobile.mfabrik.com\u003e`_\nand `Pywurfl \u003chttp://celljam.net/\u003e`_ projects which depend on this.\n\nSource code\n-----------\n\n* http://github.com/ztane/python-Levenshtein/\n\nAuthors\n-------\n\n* Maintainer: `Antti Haapala \u003cantti@haapala.name\u003e`\n\n* Python 3 compatibility: Esa Määttä\n\n* Jonatas CD: Fixed documentation generation\n\n* Previous maintainer: `Mikko Ohtamaa \u003chttp://opensourcehacker.com\u003e`_\n\n* Original code: David Necas (Yeti) \u003cyeti at physics.muni.cz\u003e\n","funding_links":[],"categories":["C","文本处理","Awesome Python"],"sub_categories":["Text Processing"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fztane%2Fpython-Levenshtein","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fztane%2Fpython-Levenshtein","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fztane%2Fpython-Levenshtein/lists"}