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

Uploaded Source

Built Distribution

File details

Details for the file pdfcomparator-0-1-0.tar.gz.

File metadata

File hashes

Hashes for pdfcomparator-0-1-0.tar.gz
Algorithm Hash digest
SHA256 f197fc05c54b00ea411ae2c66406d185490193cf834758231a707faad6d65296
MD5 27bcb6449f9cad8fbb30b7b3d4afd73f
BLAKE2b-256 b4a67c11f099d174faa2cdbf62ef4730ef08d34f96bc4cab7b2af4c9324ff32d

See more details on using hashes here.

File details

Details for the file pdfcomparator-0_1_0-py2-none-any.whl.

File metadata

File hashes

Hashes for pdfcomparator-0_1_0-py2-none-any.whl
Algorithm Hash digest
SHA256 e5320b5f582ff38b035a77ed89f4114e16168a178ad588801d06cbbbfaf4f02c
MD5 cb7d3d098b6ce3428dddbbabcaa200dc
BLAKE2b-256 0ee4204f8bd16aba1151bc8948b3238aff22ab6cf8bb6e416df2d74a482b9d14

See more details on using hashes here.

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