Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A Powerful MOSS results scrapper

Project description

PlagCheck ✅

PyPI Build Status GitHub license GitHub issues PRs Welcome

A Powerful Moss results scrapper.

Installation 🔮

  1. Create virtual environment.

    Linux/MacOS

    virtualenv -p python3 venv && cd venv && source bin/activate
    

    Windows (PowerShell)

    py -m venv venv; .\venv\Scripts\activate;
    
  2. Clone the repository.

    git clone https://github.com/codeclassroom/PlagCheck.git
    
  3. Install dependencies.

    pip install -r requirements.txt
    
  4. Set-up virtual environment variables.

    1. Create a file named .env in the root directory & add the following contents.

      USER_ID = 'moss-user-id'
      
    2. For USER_ID read instructions on Moss.

  5. Run demo.py for demo.

Usage

Install the package.

pip install plagcheck
"""Usage example"""
import os
import pprint
import plagcheck
from dotenv import load_dotenv
load_dotenv()

program_files = ["testfiles/test_python.py", "testfiles/test_python3.py"]
language = "python"
userid = os.environ["USER_ID"]

url, results = plagcheck.check(program_files, language, userid)


print(url)
pprint.pprint(results)

Read Documentation.

Author

👥 Bhupesh Varshney

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Alexey Dubrov
Alexey Dubrov

💻 🐛 ⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!

Project details


Download files

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

Files for plagcheck, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size plagcheck-0.2-py3-none-any.whl (5.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size plagcheck-0.2.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View hashes

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