Skip to main content

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.

Source Distribution

pyplagiarism-0.1.2.tar.gz (10.5 kB view hashes)

Uploaded Source

Supported by

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