Skip to main content

Compares two PDF files by appearance, not by content.

Project description

Compares two PDF files by appearance, not by content. It can be used in the command line, in order to use it inside bigger scripts.

Installation

It requires some libraries. In Debian or Ubuntu, you can install them by apt:

# apt-get install libpoppler-glib-dev python-gtk2

Then you can install it as usual:

$ pip install pdfcomparator

Usage

The format is the next one:

$ pdfcompare.py pattern current

It will compare the files under “pattern” and “current”.

If they are equal, it will print nothing. If they are different, it will print the first page that is different and the script will return 2.

Enjoy it!

## Status [<img src=”https://travis-ci.org/magmax/pdfcomparator.png”>](https://travis-ci.org/magmax/pdfcomparator#)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdfcomparator-0-1-0.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page