Skip to main content

Python utilities for Meld, good for managing templates across lots of repos / projects

Project description

Meld Utilities

DOI Actions Status

Python scripts using Meld to accomplish tasks useful for managing large numbers of repos / projects, particularly for templates. It works on any OS Meld works on (Linux, MacOS, Windows).


meld_all project/myfile.f90 ~/code

That terminal command invokes meld between project/myfile.f90 and every other file with the same name found recursively under ~/code.


Particularly on Windows, you may get Meld brought up and you don't see any difference. This is often because one file as a trailing \n and the other file does not, or the other file has \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 besides using str.replace, which I didn't want to do.

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


Project details

Release history Release notifications

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for meldutils, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size meldutils-1.1.0.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page