Skip to main content

pyplagiarism - Plagiarism Tool for Python Source Code

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)

Metadata

Release files for pyplagiarism 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyplagiarism 0.1.2
File Size Uploaded
pyplagiarism-0.1.2.tar.gz 10.5 kB Details

Release files / pyplagiarism-0.1.2.tar.gz

Download URL pyplagiarism-0.1.2.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
528232461d32a0670a7f72451a85c8cb3a1f6c6006c3a80c54642966aa8a3f97
BLAKE2b-256 checksum
How to use checksums
3d8fbcffcb7ea7d1d690fbeef0a271361a51169b144c49855ee4524465a2dffc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page