piff - Simple File Diff Tool
Introduction
Introducing piff, a straightforward File Diff Tool crafted in Python. As a frontend developer with a penchant for exploration, this project was inspired by the Tsoding channel and implements the Levenshtein distance algorithm for educational purposes.
Project Features
Educational Implementation
piff is designed as a learning project, serving as a practical application of the Levenshtein distance algorithm. It provides a hands-on experience for understanding file differences, offering a glimpse into the inner workings of file comparison tools.
Quick Start
Get started with piff using simple commands:
$ ./piff.py diff file1.txt file2.txt > file.patch
$ ./piff.py patch file1.txt file.patch
$ diff -u file1.txt file2.txt # verify that file1.txt was actually turned into file2.txt
Please note that piff is implemented for educational purposes only and is not recommended for real-world use.
Explore the piff Project!
Delve into the Python magic of piff by exploring the project's codebase on GitHub: