Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Plagiarism Tool for Source Code

Project description

You can find the detailed documentation here: https://www.egr.msu.edu/coinlab/blankjul/pyplagiarism/

build status python 3.6 license apache

An example of using pyplagiarism is provided below. This uses directly the API. In the future, we are planning to provide a command line tool in addition.

from pyplagiarism import plagiarism

a = """
def calculate():
    x = 6
    y = 5
    return x + y
"""

b = """
def calculate():
    return 5 + 6
"""

c = """
def calculate():
    x = 6
    y = 5
    return x + y
"""

data = {"a": a, "b": b, "c": c}

plagiarism(data, visualize_as_html=False, diff_of_files=False)

Project details


Download files

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

Files for pyplagiarism, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size pyplagiarism-0.1.2.tar.gz (10.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page