Metadata-Version: 2.1
Name: plagy-mnk
Version: 0.1
Summary: A Simple Plagiarism Checker
Home-page: https://github.com/mnk-q/plagy
Author: Manish Pandey
Author-email: mnkp.qc@gmail.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/mnk-q/plagy/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# Plagy  

A Simple Plagiarism detector. It supports .txt, .c, ,cpp, ,py, ,java or any other utf-8 encoded text files.  

It Provides 3 Scenarios to check the Plagiarism.  
1. **One2One** : Check the plagiarism score between two files. The files must be of same type.

2. **One2Many** : Checks the Plagiarism score betweem one query file and a list of source files. One typical use case would be a newly published journals vs a list of already published journals, to check if the new journal is plagiarized from other sources or not. 

3. **Many2Many** : Checks the similiarity between every pair of files in a collection of files.

### Uses

```
obj = One2One(path_to_file1, path_to_file2)
obj.preprocess()
obj.run()
obj.display()
```

```
obj = One2Many(path_to_source_folder, path_to_query_file)
obj.preprocess()
obj.run()
obj.display()
```

```
obj = Many2Many(path_to_collection_folder)
obj.preprocess()
obj.run(threshold = 0.7)
obj.display()
```

 

