A Python client for Moss: A System for Detecting Software Similarity
Project description
moss.py
A Python client for Moss: A System for Detecting Software Similarity
Introduction
It is a Python interface for Moss client. It was written for AutoGrader for handling similarity in Python assignment submission.
It was written using the original bash script/documentation and its PHP dialect.
Installation
pip install mosspy
Usage
import mosspy
userid = 987654321
m = mosspy.Moss(userid, "python")
m.addBaseFile("submission/a01.py")
m.addBaseFile("submission/test_student.py")
# Submission Files
m.addFile("submission/a01-sample.py")
m.addFilesByWildcard("submission/a01-*.py")
url = m.send() # Submission Report URL
print ("Report Url: " + url)
# Save report file
m.saveWebPage(url, "submission/report.html")
# Download whole report locally including code diff links
mosspy.download_report(url, "submission/report/", connections=8)
Python Compatibility
- Python - v2.7.* and v3.*
Similar Project
- ocaml-moss OCaml client
- cl-moss Common Lisp
- moji Java version
- MOSS-PHP PHP version
- GUI for Windows GUI for Windows
License
This project is licensed under the MIT License - see the LICENSE file for details
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mosspy-1.0.8-py2.py3-none-any.whl.
File metadata
- Download URL: mosspy-1.0.8-py2.py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.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.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9387f8137efdea2e089ed7d511acc615caa45fd2e63c0bb59313cdc4bb4dde06
|
|
| MD5 |
cd793db1228d9e07b959b809a94ce4ba
|
|
| BLAKE2b-256 |
330be562cdb5b5bec2d8fff76d216723793cb6ff90677226b9d340367eee7cf6
|