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`.


Installing
----------

Install with Pip: `pip install csvmatch`.


Usage
-----

Say you have one CSV file such as:

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

And another such as:

```
name
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:

```bash
$ csvmatch data1.csv data2.csv

name,name
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.

Files for csvmatch, version 1.1
Filename, size File type Python version Upload date Hashes
Filename, size csvmatch-1.1-py2.py3-none-any.whl (4.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size csvmatch-1.1.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page