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`
=========
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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for csvmatch-1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03cfe2bb27f6df06b6ee77abb62fdbd7466f5c84e7f6af39eb34819167f8f8c0 |
|
MD5 | 7701e9f7af3bbc2ac97990ad0489c911 |
|
BLAKE2b-256 | 1b202636b1899e0fecda9a925258554c61565b9dfb7d861e7e5f92a49019c4e4 |