ProBoard
Scrapers & data
Scrapers & dataVeröffentlicht 8. Okt.

Contact cleaner leaves duplicate emails

Emails with surrounding spaces are treated as different addresses.

Beschreibung

Library that cleans imported contact lists (`cleaner/core.py`). Problem: after import we still get duplicate contacts, because `" Anna@Example.com "` and `"anna@example.com"` are considered different. The exported list must contain one row per email. Expected: - email is trimmed and lowercased before dedupe; - empty emails are dropped; - name is collapsed to single spaces, phone goes through `normalize_phone`; - output order keeps the first occurrence. Acceptance: `python -m unittest discover -s tests` passes. Message me and I'll send a sample CSV with the duplicates. PayPal right after the tests pass.

Fähigkeiten

  • Python
  • Data cleaning