Moss Results scraper with powerful insights & analysis
Project description
PlagCheck ✅
Moss Results scraper with powerful insights & analysis 💡
Installation
Install using pip
from PyPI
pip install plagcheck
or directly from GitHub if you cannot wait to test new features
pip install git+https://github.com/codeclassroom/PlagCheck.git
Usage
"""Usage example"""
import os
import pprint
from plagcheck import plagcheck
from dotenv import load_dotenv
load_dotenv()
language = "python"
userid = os.environ["USER_ID"]
moss = plagcheck.check(language, userid)
moss.addFilesByWildCard("testfiles/test_python*.py")
# or moss.addFile("testfiles/test_python.py")
moss.submit()
print(moss.getHomePage())
pprint.pprint(moss.getResults())
# print frequency of each shared solution
pprint.pprint(moss.getShareScores())
# print potential distributor-culprit relationships
pprint.pprint(moss.getInsights())
Documentation
Development
Prerequisites
- Python 3.6+
- virtualenv
- Create virtual environment.
virtualenv -p python3 venv && cd venv && source bin/activate
- Clone the repository.
git https://github.com/codeclassroom/PlagCheck.git
- Install Dependencies.
pip install -r requirements-dev.txt
- Run tests.
pytest plagcheck
- Lint the project with
flake8 plagcheck --max-line-length=88 --ignore=F401
black --check --diff plagcheck
📝 Changelog
See the CHANGELOG.md file for details.
Author
👥 Bhupesh Varshney
- Twitter: @bhupeshimself
- DEV: bhupesh
📜 License
This project is licensed under the MIT License. See the LICENSE file for details.
👋 Contributing
Please read the CONTRIBUTING guidelines for the process of submitting pull requests to us.
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
Built Distribution
File details
Details for the file plagcheck-0.4.tar.gz
.
File metadata
- Download URL: plagcheck-0.4.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | edec785dc6a28f824ba57f6f44986ef055c3554938f6221ace290ad218cf9d35 |
|
MD5 | 47caa4613a8e1380960d3c40b5e1eaa0 |
|
BLAKE2b-256 | 9e42b98de95839d584e25a22f4784e602ddf8942df024e28c398eee14a23869b |
File details
Details for the file plagcheck-0.4-py3-none-any.whl
.
File metadata
- Download URL: plagcheck-0.4-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0679eee0c62a86bcce21b4ea534b8a37c919f001a8a43fcb6cabd29d86a1de42 |
|
MD5 | ec44af5fe9ddd36e3df7398ee171515b |
|
BLAKE2b-256 | 7fe8c85fe289f2eea093ce4376167f3328c6e868083b9e57f7aff0e4c5d1e90f |