Skip to content
Check your programs for plagiarism ✔️
Python Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github usage update Nov 3, 2019
docs remove useless stuff Oct 21, 2019
plagcheck
testfiles finally a usable product Oct 19, 2019
.all-contributorsrc docs: create .all-contributorsrc Nov 2, 2019
.gitignore Initial commit Sep 18, 2019
.travis.yml
LICENSE Create LICENSE Nov 2, 2019
README.md Update README.md Nov 9, 2019
demo.py minor updates Nov 2, 2019
requirements.txt minor updates Nov 2, 2019
setup.cfg ready for prod Nov 3, 2019
setup.py changes for v0.2 Nov 9, 2019

README.md

PlagCheck

PyPI Build Status PyPI - Python Version 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!

You can’t perform that action at this time.