Skip to main content

Find matches between two CSV files in the terminal.

Project description

CSV Match

Find matches between two CSV files in the terminal.

Requires either version 2 or 3 of Python, including `pip`.


Install with Pip: `pip install csvmatch`.


Say you have one CSV file such as:

George Smiley
Percy Alleline
Roy Bland
Toby Esterhase
Peter Guillam
Bill Haydon
Oliver Lacon
Jim Prideaux
Connie Sachs

And another such as:

Maria Andreyevna Ostrakova
Otto Leipzig
George Smiley
Peter Guillam
Connie Sachs
Saul Enderby
Sam Collins
Toby Esterhase
Claus Kretzschmar

You can then find the matches:

$ csvmatch data1.csv data2.csv

Peter Guillam,Peter Guillam
George Smiley,George Smiley
Toby Esterhase,Toby Esterhase
Connie Sachs,Connie Sachs

You can also pipe either file in using `-` as a placeholder, eg. `cat data1.csv | csvmatch - data2.csv`

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

csvmatch-1.1.tar.gz (2.7 kB view hashes)

Uploaded source

Built Distribution

csvmatch-1.1-py2.py3-none-any.whl (4.6 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page