A Powerful MOSS results scrapper
Project description
PlagCheck ✅
A Powerful Moss results scrapper.
Installation 🔮
-
Create virtual environment.
Linux/MacOS
virtualenv -p python3 venv && cd venv && source bin/activate
Windows (PowerShell)
py -m venv venv; .\venv\Scripts\activate;
-
Clone the repository.
git clone https://github.com/codeclassroom/PlagCheck.git
-
Install dependencies.
pip install -r requirements.txt
-
Set-up virtual environment variables.
-
Create a file named
.env
in the root directory & add the following contents.USER_ID = 'moss-user-id'
-
For
USER_ID
read instructions on Moss.
-
-
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
- Twitter: @bhupeshimself
- DEV: bhupesh
Contributors ✨
Thanks goes to these wonderful people (emoji key):
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)