Skip to main content

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

Metadata

Release files for pdfcomparator 0-1-0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pdfcomparator 0-1-0
File Size Uploaded Provenance
pdfcomparator-0-1-0.tar.gz 4.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pdfcomparator 0-1-0
File Interpreter ABI Platform
pdfcomparator-0_1_0-py2-none-any.whl Details

Total release size: 12.0 kB

Release files / pdfcomparator-0-1-0.tar.gz

Download URL pdfcomparator-0-1-0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f197fc05c54b00ea411ae2c66406d185490193cf834758231a707faad6d65296
BLAKE2b-256 checksum
How to use checksums
b4a67c11f099d174faa2cdbf62ef4730ef08d34f96bc4cab7b2af4c9324ff32d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pdfcomparator-0_1_0-py2-none-any.whl

Download URL pdfcomparator-0_1_0-py2-none-any.whl
Size 7.1 kB
SHA-256 checksum
How to use checksums
e5320b5f582ff38b035a77ed89f4114e16168a178ad588801d06cbbbfaf4f02c
BLAKE2b-256 checksum
How to use checksums
0ee4204f8bd16aba1151bc8948b3238aff22ab6cf8bb6e416df2d74a482b9d14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pdfcomparator 0-1-0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page