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!
Metadata
Release files for plagcheck 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| plagcheck-0.4.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| plagcheck-0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.8 kB
Release files / plagcheck-0.4.tar.gz
| Download URL | plagcheck-0.4.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
edec785dc6a28f824ba57f6f44986ef055c3554938f6221ace290ad218cf9d35
|
|
BLAKE2b-256 checksum How to use checksums |
9e42b98de95839d584e25a22f4784e602ddf8942df024e28c398eee14a23869b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / plagcheck-0.4-py3-none-any.whl
| Download URL | plagcheck-0.4-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0679eee0c62a86bcce21b4ea534b8a37c919f001a8a43fcb6cabd29d86a1de42
|
|
BLAKE2b-256 checksum How to use checksums |
7fe8c85fe289f2eea093ce4376167f3328c6e868083b9e57f7aff0e4c5d1e90f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|