Skip to main content

PlagCheck ✅

Moss Results scraper with powerful insights & analysis 💡

PyPI Build Status PyPI - Python Version Documentation Status PyPI - License PyPI - Downloads

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

PlagCheck Documentation

Development

Prerequisites
  • Python 3.6+
  • virtualenv
  1. Create virtual environment.
virtualenv -p python3 venv && cd venv && source bin/activate
  1. Clone the repository.
git https://github.com/codeclassroom/PlagCheck.git
  1. Install Dependencies.
pip install -r requirements-dev.txt
  1. Run tests.
pytest plagcheck
  1. 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

forthebadge

📜 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
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)

Source distribution for plagcheck 0.4
File Size Uploaded
plagcheck-0.4.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for plagcheck 0.4
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.4 This release

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page