chore: init

This commit is contained in:
Thiago Sposito 2026-02-04 21:11:16 -03:00
commit edb31d2d31
13 changed files with 531 additions and 0 deletions

10
row_eq.py Normal file
View file

@ -0,0 +1,10 @@
"""Row equality for sew: same content (strip, compare)."""
def row_equal(a, b, num_cols=6):
if len(a) < num_cols or len(b) < num_cols:
return False
for i in range(num_cols):
if (a[i] if i < len(a) else "").strip() != (b[i] if i < len(b) else "").strip():
return False
return True