All Projects → yebrahim → Pydiff

yebrahim / Pydiff

Licence: mit
A simple GUI for python's difflib to compare files and directories

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Pydiff

Excelmerge
GUI Diff Tool for Excel
Stars: ✭ 425 (+474.32%)
Mutual labels:  diff, gui
Git Cola
git-cola: The highly caffeinated Git GUI
Stars: ✭ 1,787 (+2314.86%)
Mutual labels:  diff, gui
P5.clickable
Event driven, easy-to-use button library for P5.js 👆
Stars: ✭ 66 (-10.81%)
Mutual labels:  gui
Ariang Native
A better aria2 desktop frontend than AriaNg, containing all features of AriaNg and more features for desktop.
Stars: ✭ 1,176 (+1489.19%)
Mutual labels:  gui
Silx
silx toolkit
Stars: ✭ 69 (-6.76%)
Mutual labels:  gui
Traffic Rules Violation Detection
The System consists of two main components. Vehicle detection model and A graphical user interface (GUI)
Stars: ✭ 67 (-9.46%)
Mutual labels:  gui
Wxformbuilder
RAD tool for wxWidgets GUI design
Stars: ✭ 1,167 (+1477.03%)
Mutual labels:  gui
Guitar
Git GUI Client
Stars: ✭ 1,136 (+1435.14%)
Mutual labels:  gui
Swiftgui
SwiftGUI is an API inspired by SwiftUI DSL, using Dear ImGui as renderer and running on macOS 10.13+ and iOS 11+
Stars: ✭ 74 (+0%)
Mutual labels:  gui
Popup Dict
Linux 下的划词翻译小工具
Stars: ✭ 69 (-6.76%)
Mutual labels:  gui
Ara
ARA Records Ansible and makes it easier to understand and troubleshoot.
Stars: ✭ 1,176 (+1489.19%)
Mutual labels:  gui
Hitomi Downloader
🍰 Desktop application to download images/videos/music/text from Hitomi.la and other sites, and more.
Stars: ✭ 1,154 (+1459.46%)
Mutual labels:  gui
Java Mvc Swing Monopoly
模仿大富翁游戏,使用Java Swing (GUI) 实现的单机游戏,遵循MVC设计模式。Created in Java. Using GUI developed with Swing, with a MVC design pattern.
Stars: ✭ 67 (-9.46%)
Mutual labels:  gui
Odiff
The fastest pixel-by-pixel image visual difference tool in the world.
Stars: ✭ 1,173 (+1485.14%)
Mutual labels:  diff
Ale
✌️a Flexible and fast JavaScript view framework
Stars: ✭ 67 (-9.46%)
Mutual labels:  diff
Skin.refocus
reFocus, a skin for Kodi
Stars: ✭ 72 (-2.7%)
Mutual labels:  gui
Trifusion
Streamlining phylogenomic data gathering, processing and visualization
Stars: ✭ 65 (-12.16%)
Mutual labels:  gui
Nitroshare Desktop
Network file transfer application for Windows, OS X, & Linux
Stars: ✭ 1,150 (+1454.05%)
Mutual labels:  gui
Asap app imgui
Starter project for portable app with optional GUI (GLFW/ImGui) and a rich builtin debug UI. Includes docked windows, log viewer, settings editor, configuration load/save, etc...
Stars: ✭ 70 (-5.41%)
Mutual labels:  gui
Moonnuklear
Lua bindings for Nuklear
Stars: ✭ 74 (+0%)
Mutual labels:  gui

pydiff - A Minimalistic Difflib GUI

An open source Tkinter GUI for python's difflib comparing two text files or two directory trees, complete with highlighting of differences and line numbers.

You can open File -> Compare Files to diff two text files, or choose File -> Compare Directories to diff directories. In the case of directories, the tool will show the directory structure in a tree sidebar to the left, and highlight files red if they're in left directory only, green if in the right one only, yellow if in both with changes, and white if in both with no changes.

The tool makes use of this parser that I wrote for python's difflib ndiff output, which converts the text output into diff objects that can be used in code.

Requirements

pydiff works with stock Python2.7 and takes only one dependency on tkinter, which is built-in on MacOS so it should work out of the box. On Ubuntu, you can get it by running sudo apt-get install python-tk.

Install

You can just clone the repo to your disk, just note that it uses a submodule, so you need to clone recursively:

git clone --recursive https://github.com/yebrahim/pydiff.git

Please open issues if you see any, and feel free to fix and send pull requests.

Usage

python pydiff.py

You can also give it executable permissions and run it directly on unix systems:

chmod +x pydiff.py

./pydiff.py

To diff two paths directly (files or directories):

python pydiff.py -p path1 path2

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].