This repository contains a python program that allows you to compare two files to determine if they are copied from one another. The program uses a simple comparison algorithm based on the number of common words between the two files, and returns a match percentage indicating the similarity of the contents of the files.
- Select two files from your local computer
- Compare the contents of the two files
- Get a percentage match between the two files
- Get a message indicating if the two files match or not
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software and how to install them
- Python 3.x
- PyQt5 library
pip install PyQt5
A step by step series of examples that tell you how to get the software up and running
Clone the repository
git clone https://github.com/jhembe/file-comparison-tool.git
Run the following command
python file_comparison.py
When you run the program, a GUI window will appear that allows you to select the two files you want to compare.
- Select File 1 - Click the "Select File 1" button to choose the first file to compare
- Select File 2 - Click the "Select File 2" button to choose the second file to compare
- Compare Files - Click the "Compare Files" button to start the comparison process
- The result of the comparison will be displayed in the result label
- PyQt5 - A set of Python bindings for the Qt application framework and runs on all platforms supported by Qt including Windows, OS X, Linux, iOS, and Android.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Joseph Gabriel Mahembega - Initial work
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Pendo Mniko