Skip to main content

A Simple Plagiarism Checker

Project description

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.

Installation

Install this package from pip directly

pip install plagy-mnk

or

pip3 install plagy-mnk

or clone this repo in your local environment and

python setup.py

Uses

from plagy.plagy import *
obj = One2One(path_to_file1, path_to_file2)
obj.preprocess_files()
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()

Project details


Download files

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

Source Distribution

plagy-mnk-0.1.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plagy_mnk-0.1.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file plagy-mnk-0.1.1.tar.gz.

File metadata

  • Download URL: plagy-mnk-0.1.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for plagy-mnk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 80d841ada97e0437fb84affa48e1b3ea8b3431048bd7c8ad583b92add5f6ad03
MD5 3fe76801719623689586731ffb8fe69f
BLAKE2b-256 0ffc2f3e59e81acd365412a35254675d63621ce3e4fe2d383815114cb50631b3

See more details on using hashes here.

File details

Details for the file plagy_mnk-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: plagy_mnk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for plagy_mnk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 96e918a2a472ececbcb5406dfbf8e79e3dc35c0d6850fed6ac6abb1ac03788cf
MD5 49488a5bc3be8ba147d2fa1550aaa9bb
BLAKE2b-256 39ad97fb62737d79e97f5664710544d51d269563fa5dafb0dd3a578a641c1a19

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page