Metadata-Version: 2.1
Name: plagdef
Version: 1.4.5
Summary: A tool which makes life hard for students who try to make theirs simple.
Home-page: https://github.com/devWhyqueue/plagdef
License: GPL-3.0-or-later
Author: Yannik Queisler
Requires-Python: >=3.8,<3.10
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: Werkzeug (>=2.0,<3.0)
Requires-Dist: beautifulsoup4 (>=4.10,<5.0)
Requires-Dist: click (>=8.0,<9.0)
Requires-Dist: deep-translator (>=1.7,<2.0)
Requires-Dist: jsonpickle (>=2.1,<3.0)
Requires-Dist: langdetect (>=1.0,<2.0)
Requires-Dist: networkx (>=2.7,<3.0)
Requires-Dist: numpy (>=1.22,<2.0)
Requires-Dist: ocrmypdf (>=13.4,<14.0)
Requires-Dist: pdfplumber (>=0.6,<0.7)
Requires-Dist: pyside6
Requires-Dist: python-magic (>=0.4,<0.5)
Requires-Dist: sortedcontainers (>=2.4,<3.0)
Requires-Dist: stanza (>=1.3,<2.0)
Requires-Dist: tqdm (>=4.63,<5.0)
Requires-Dist: urlextract (>=1.5,<2.0)
Description-Content-Type: text/markdown

# PlagDef

[![PyPI version](https://badge.fury.io/py/plagdef.svg)](https://badge.fury.io/py/plagdef)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/plagdef)
![GitHub](https://img.shields.io/github/license/devWhyqueue/plagdef)
[![Test](https://github.com/devWhyqueue/plagdef/actions/workflows/cd.yml/badge.svg)](https://github.com/devWhyqueue/plagdef/actions/workflows/test.yml)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=devWhyqueue_plagdef&metric=coverage)](https://sonarcloud.io/dashboard?id=devWhyqueue_plagdef)

A tool which makes life hard for students who try to make theirs simple.

# Installation

Get it from PyPI:

```
$ pip install plagdef
````

Or build it yourself:

```
$ git clone git://github.com/devWhyqueue/plagdef
$ poetry build
$ pip install dist/plagdef-{VERSION}.tar.gz
````

# Requirements

## OCRMyPDF

This library is used for improved PDF text extraction.\
To install its necessary dependencies for your operating system take a look at:\
https://ocrmypdf.readthedocs.io/en/latest/installation.html

And don't forget to download the German language pack to your _tessdata_ folder from here:\
https://github.com/tesseract-ocr/tessdata

## Libmagic

**After** (important!) you installed PlagDef, install the libmagic library.\
PlagDef uses it to detect character encodings.\
Further instructions can be found here:\
https://github.com/ahupp/python-magic#installation

# Usage

Run the GUI:

```
$ plagdef-gui
````

Or if you prefer a CLI:

```
$ plagdef -h
````

# Development

Clone the repo and install dependencies:

```
$ git clone git://github.com/devWhyqueue/plagdef
$ poetry install
````

# Publish to PyPI

In your virtual environment build and upload PlagDef:

```
$ poetry publish --build
````

