Plagiarism Tool for Source Code
Project description
You can find the detailed documentation here: https://www.egr.msu.edu/coinlab/blankjul/pyplagiarism/
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
Release history Release notifications | RSS feed
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)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 528232461d32a0670a7f72451a85c8cb3a1f6c6006c3a80c54642966aa8a3f97 |
|
MD5 | 8016e193d6fd0973ac49a05b66a7dcf3 |
|
BLAKE2b-256 | 3d8fbcffcb7ea7d1d690fbeef0a271361a51169b144c49855ee4524465a2dffc |