Skip to main content

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)

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 details)

Uploaded Source

File details

Details for the file pyplagiarism-0.1.2.tar.gz.

File metadata

  • Download URL: pyplagiarism-0.1.2.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pyplagiarism-0.1.2.tar.gz
Algorithm Hash digest
SHA256 528232461d32a0670a7f72451a85c8cb3a1f6c6006c3a80c54642966aa8a3f97
MD5 8016e193d6fd0973ac49a05b66a7dcf3
BLAKE2b-256 3d8fbcffcb7ea7d1d690fbeef0a271361a51169b144c49855ee4524465a2dffc

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 file

0.1.1

1 file

0.1.0

1 file

Supported by

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