Skip to content

f331337/normalize-contacts

Repository files navigation

📞 CSV Normalizer

A CLI tool to normalize phone numbers and dates from a CSV file.

It reads a CSV file, standardizes the phone and date formats, writes valid entries to a new file, and optionally prints results and a summary.


⚙️ Installation (with uv)

uv sync
uv run main.py

Usage

uv run main.py -f sample.csv -o output.csv

Example:

uv run main.py -f sample.csv -o "output.csv"

Rows processed: 50
Skipped total: 6
Skipped by phone: 4
Skipped by date: 2
Valid: 44

Docker:

docker build -t csv-normalizer .
docker run --rm csv-normalizer
---
Rows processed: 50
Skipped total: 6
Skipped by phone: 4
Skipped by date: 2
Valid: 44

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors