Metadata-Version: 2.1
Name: meldutils
Version: 2.2.0
Summary: Graphical recursive file diffing (Meld, VS Code), good for managing templates across lots of repos / projects
Home-page: https://github.com/scivision/meldutils
Author: Michael Hirsch, Ph.D.
Author-email: scivision@users.noreply.github.com
License: UNKNOWN
Keywords: meld,merge,git,diff
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Version Control
Classifier: Topic :: Text Processing
Classifier: Topic :: Utilities
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Provides-Extra: tests
Provides-Extra: lint
License-File: LICENSE.txt

# Graphical recursive file comparison

[![DOI](https://zenodo.org/badge/186922933.svg)](https://zenodo.org/badge/latestdoi/186922933)
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/scivision/meldutils.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/scivision/meldutils/context:python)
[![Actions Status](https://github.com/scivision/meldutils/workflows/ci/badge.svg)](https://github.com/scivision/meldutils/actions)
[![PyPi Download stats](http://pepy.tech/badge/meldutils)](http://pepy.tech/project/meldutils)

Using
[Meld](https://meldmerge.org)
or
[Visual Studio Code](https://code.visualstudio.com/)
to accomplish file differencing.
Useful for managing large numbers of repos / projects, particularly for templates.

```sh
python -m meldutils project/myfile.f90 ~/code
```

graphically compares `project/myfile.f90` with every other file of the same name  recursively under `~/code`.

Particularly on Windows, the GUI may be invoked, but you don't see any difference.
This is often because only one of the two files as a trailing `\n` or `\r\n`.
Meld won't show any difference, even with all text filters off.
Because of how Python `filecmp.cmp` works, there isn't a blazing fast simple solution to this.
A possibly slow solution would be using str.replace.

So just realize it's OK, close Meld when it shows no difference and happy comparing!

[Reference](https://github.com/dsindex/blog/wiki/%5Bpython%5D-string-compare-disregarding-white-space)


