Skip to main content

Graphical recursive file diffing (Meld, VS Code), good for managing templates across lots of repos / projects

Project description

Graphical recursive file comparison

DOI Language grade: Python Actions Status PyPi Download stats

Using Meld or Visual Studio Code to accomplish file differencing. Useful for managing large numbers of repos / projects, particularly for templates.

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

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

meldutils-2.2.0.tar.gz (5.4 kB view details)

Uploaded Source

File details

Details for the file meldutils-2.2.0.tar.gz.

File metadata

  • Download URL: meldutils-2.2.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for meldutils-2.2.0.tar.gz
Algorithm Hash digest
SHA256 70263a817ef24e056ba0d19295551b3347ee3a2ac398d99460b2c89855adb87f
MD5 3d93cc4de73605eefd34193ae2aab56d
BLAKE2b-256 f747b0ef88fb70ecaba216f9e9de8bbd34fb7d1ee33eff2cb6fc5493d6214b45

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page