Skip to main content

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.

Source Distribution

plagcheck-0.2.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

plagcheck-0.2-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page