tag:github.com,2008:https://github.com/blue-monk/csv-diff-python3/releases Release notes from csv-diff-python3 2021-10-07T04:38:17Z tag:github.com,2008:Repository/413757705/1.0.0 2021-10-07T04:56:06Z 1.0.0 <p>First release.</p> <h2>Features</h2> <ul> <li>CSV delimiter, line feed character, presence/absence of header, etc. are automatically determined (can be specified)</li> <li>Make a comparison after matching with the key columns</li> <li>You can specify columns that are not compared</li> <li>Differences can be displayed side-by-side (more suitable when the number of columns is small)</li> <li>Differences can be displayed in vertical order (more suitable when the number of columns is large)</li> <li>Differences are indicated by the following marks, which we call DIFF-MARK <ul> <li><code>!</code>: There is a difference</li> <li><code>&lt;</code>: Exists only on the left side</li> <li><code>&gt;</code>: Exists only on the right side</li> </ul> </li> <li>It is also possible to display only the number of differences and the line number with the difference</li> <li>It is possible to compare one file with commas and one file with tabs</li> <li>Low memory consumption</li> <li>Only Python standard modules are used and provided as a single file, so it is easy to install even on an isolated environment</li> </ul> <h2>Requirements</h2> <h3><em>Runtime</em></h3> <ul> <li>Python3.6 or later</li> </ul> <h3><em>CSV files</em></h3> <ul> <li>Must be sorted by key columns</li> </ul> <h2>Installation</h2> <h3><em>With pip</em></h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pip install git+https://github.com/blue-monk/csv-diff-python3"><pre>pip install git+https://github.com/blue-monk/csv-diff-python3</pre></div> <p>It may be safer to install it on a virtual environment created with venv.</p> <h3><em>Manual installation</em></h3> <p>Place <code>csvdiff.py</code> in any directory on the machine where Python 3 is installed.<br> It will be easier to use if you place it in a directory defined on PATH.</p> <h2>Run</h2> <h3><em>If installed with pip</em></h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ csvdiff3 -h"><pre>$ csvdiff3 -h</pre></div> <h3><em>If installed manually</em></h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ python csvdiff.py -h"><pre>$ python csvdiff.py -h</pre></div> <p>or</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ chmod +x csvdiff.py $ ./csvdiff.py -h"><pre>$ chmod +x csvdiff.py $ ./csvdiff.py -h</pre></div> blue-monk