PDF cropper

This project is aimed to provide simple and easy to use script for cropping PDF files as part of the E-deposit project.

Česká verze

Script

From user’s point of view, following script is his interface with pdfcropper:

API

From programmer’s point of view, there are few collections of functions, which he (or she) may use:

Source code

This project is released as opensource (GPL) and source codes can be found at GitHub:

Installation

Module is hosted at PYPI, and can be easily installed using PIP:

sudo pip install pdfcropper

Testing

Almost every feature of the project is tested in unit/integration tests. You can run this tests using provided run_tests.sh script, which can be found in the root of the project.

Requirements

This script expects that pytest is installed. In case you don’t have it yet, it can be easily installed using following command:

pip install --user pytest

or for all users:

sudo pip install pytest