About Me
Contact Me
Writings
Projects
Links
Disclaimer
|
Sim Diffsimdif is a pure-Python library for computing, comparing, and understanding similarity, difference, and distance metrics. It started as a collection of similarity and difference metrics, and has grown to include distance metrics and alignment scores (Smith-Waterman, Needleman-Wunsch, Affine Gap). The design goal is education first: every metric ships with a step-by-step explanation function and a plain-English definition function so you can see exactly how a score is derived. ⚠️ Not intended for large-scale or production workloads. simdif is pure Python and prioritises clarity over speed. It is well-suited for classroom use, small experiments, and learning how metrics work - not for processing large datasets or performance-critical pipelines. Highlights
Installationpip install simdif For development (editable install from a clone): git clone https://github.com/kainaw/simdif.git cd simdif pip install -e . For syntax and metric lists, see the repo: https://github.com/kainaw/simdif |
|
Copyright ©1998-2026 C. Shaun Wagner.
All rights reserved.
|