{"id":20619320,"url":"https://github.com/dedupeio/affinegap","last_synced_at":"2026-03-11T06:30:49.399Z","repository":{"id":23510376,"uuid":"26876276","full_name":"dedupeio/affinegap","owner":"dedupeio","description":":triangular_ruler: A Cython implementation of the affine gap string distance","archived":false,"fork":false,"pushed_at":"2023-01-23T10:04:12.000Z","size":73,"stargazers_count":57,"open_issues_count":6,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-12-22T00:07:26.813Z","etag":null,"topics":["cython","levenshtein-distance","python","string-distance"],"latest_commit_sha":null,"homepage":"","language":"Cython","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dedupeio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-19T18:53:54.000Z","updated_at":"2025-01-19T13:13:07.000Z","dependencies_parsed_at":"2023-02-13T09:30:26.501Z","dependency_job_id":null,"html_url":"https://github.com/dedupeio/affinegap","commit_stats":null,"previous_names":["datamade/affinegap"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/dedupeio/affinegap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedupeio%2Faffinegap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedupeio%2Faffinegap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedupeio%2Faffinegap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedupeio%2Faffinegap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dedupeio","download_url":"https://codeload.github.com/dedupeio/affinegap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedupeio%2Faffinegap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30373433,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T06:09:32.197Z","status":"ssl_error","status_checked_at":"2026-03-11T06:09:17.086Z","response_time":84,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cython","levenshtein-distance","python","string-distance"],"created_at":"2024-11-16T12:11:21.773Z","updated_at":"2026-03-11T06:30:49.357Z","avatar_url":"https://github.com/dedupeio.png","language":"Cython","funding_links":[],"categories":[],"sub_categories":[],"readme":"affinegap\n=========\n\nA Cython implementation of the [affine gap penalty string distance](http://en.wikipedia.org/wiki/Gap_penalty#Affine_Gap_Penalty) also known as the [Smith–Waterman algorithm](http://en.wikipedia.org/wiki/Smith%E2%80%93Waterman_algorithm)\n\nPart of the [Dedupe.io](https://dedupe.io/) cloud service and open source toolset for de-duplicating and finding fuzzy matches in your data.\n\n[![Build Status](https://travis-ci.org/dedupeio/affinegap.svg?branch=master)](https://travis-ci.org/dedupeio/affinegap)\n\n## To install\n```bash\npip install affinegap\n```\n\n## To use\n```python\nimport affinegap\nd1 = affinegap.affineGapDistance('foo', 'bar')\nd2 = affinegap.affineGapDistance('foo', 'bar',\n                                 matchWeight = 1,\n                                 mismatchWeight = 11,\n                                 gapWeight = 10,\n                                 spaceWeight = 7,\n                                 abbreviation_scale = .125)\nd3 = affinegap.normalizedAffineGapDistance('foo', 'bar')\n```\n\n## To get set up for development\n```bash\ngit clone https://github.com/dedupeio/affinegap.git\ncd affinegap\npip install -r requirements.txt\ncython affinegap/*.pyx\npython setup.py develop\npytest\n```\n\n## Team\n\n* Forest Gregg, Dedupeio\n\n## Errors and Bugs\n\nIf something is not behaving intuitively, it is a bug and should be reported.\nReport it here by creating an issue: https://github.com/dedupeio/affinegap/issues\n\nHelp us fix the problem as quickly as possible by following [Mozilla's guidelines for reporting bugs.](https://developer.mozilla.org/en-US/docs/Mozilla/QA/Bug_writing_guidelines#General_Outline_of_a_Bug_Report)\n\n## Patches and Pull Requests\n\nYour patches are welcome. Here's our suggested workflow:\n\n* Fork the project.\n* Make your feature addition or bug fix.\n* Send us a pull request with a description of your work. Bonus points for topic branches!\n\n## Copyright and Attribution\n\nCopyright (c) 2016 Forest Gregg and Dedupeio. Released under the [MIT License](https://github.com/dedupeio/affinegap/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdedupeio%2Faffinegap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdedupeio%2Faffinegap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdedupeio%2Faffinegap/lists"}