Skip to main content

Redact PDF annotation metadata to control disclosure of personal data

Project description

pdf-slashannots – Redact PDF Annotation Metadata

By annotating PDFs you leave metadata along with the annotation content like your name and the date and time when you created and last modified each annotation. This metadata can be seen and exploited by anyone with access to the annotated PDF file.

That way, others could for instance infer how long you took to read through and comment on a document and even individual pages, or infer when you made breaks or did something else.

pdf-slashannots aims at redacting that annotation metadata from PDFs so that you can pass them along without revealing your habits.

Installation

pdf-slashannots is available on PyPI:

python3 -m pip install pdf-slashannots

Usage

Simply run pdf-slashannots input.pdf redacted.pdf and you are done.

Okay, there is more. If you run the command without any options then all annotations are equally redacted and the dates set to none precision (January 1st, 1970). Check out pdf-slashannots --help for the more advanced features like

  • specify a subset of annotation authors to redact
  • specify the precision to which the dates are reduced
  • redact also the authors' name

Or, if you prefer a graphical interface, there is also pdf-slashannots-gui based on Python Tkinter.

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

pdf-slashannots-0.4.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

pdf_slashannots-0.4.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file pdf-slashannots-0.4.0.tar.gz.

File metadata

  • Download URL: pdf-slashannots-0.4.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.2

File hashes

Hashes for pdf-slashannots-0.4.0.tar.gz
Algorithm Hash digest
SHA256 187fbed2b0ca59b1594c0d2d8b6a9f176e41cc3bbc4f58896bfd826a8fc14e10
MD5 31bb153dec764f2a2e50974925b8af02
BLAKE2b-256 c828b81316ae4dce169166d298baf1492843b5dbd23846207342eb879c397bf0

See more details on using hashes here.

File details

Details for the file pdf_slashannots-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pdf_slashannots-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89b5a34341f4f315eb484939b14f901f0b3462067ddfa53496e452b747f6b1f0
MD5 5c8e699ddcd05d29fa56e6e5d25f0ec4
BLAKE2b-256 a7e2798381a659492357075deca83fa836590e2281bfcd458d2d92cefc48c5d8

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