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
Chrome
PlagDef uses Selenium to automate the translation of documents. By default, it uses a headless version of Chrome.
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
Metadata
Release files for plagdef 1.5.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| plagdef-1.5.3.tar.gz | 686.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| plagdef-1.5.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.4 MB
Release files / plagdef-1.5.3.tar.gz
| Download URL | plagdef-1.5.3.tar.gz |
|---|---|
| Size | 686.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13af1c7fb81b3a1d1c2e64d0ff93dfb85123222cd11993fb4e0e8c60ff0c120e
|
|
BLAKE2b-256 checksum How to use checksums |
5c57eef78bb7b43380d9f526b717ddc577db614adaf2734b147da5398cd0dc23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.10.2 Linux/6.11.0-1018-azure
|
Release files / plagdef-1.5.3-py3-none-any.whl
| Download URL | plagdef-1.5.3-py3-none-any.whl |
|---|---|
| Size | 708.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
59d058dd71d7fc30fb0bd7dffa0ca2f6500d08a1432a26d0cc93e93cb7d7c05c
|
|
BLAKE2b-256 checksum How to use checksums |
2c3c6d33da0ea932628ff70f1c2f8e0fdb2d5d2fe0c1c4ebd79a9667f39508a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.10.2 Linux/6.11.0-1018-azure
|