Skip to main content

A Python client for Moss: A System for Detecting Software Similarity

Project description


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


# Submission Files

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](,.txt&authkey=!ACqFMI0kmA4L1mc) GUI for Windows

## License

This project is licensed under the MIT License - see the [LICENSE]( file for details

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
mosspy-1.0.7-py2.py3-none-any.whl (6.4 kB) Copy SHA256 hash SHA256 Wheel py2.py3

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page