Skip to main content

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.

Metadata

Release files for pdf-slashannots 0.4.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 pdf-slashannots 0.4.0
File Size Uploaded Provenance
pdf-slashannots-0.4.0.tar.gz 7.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pdf-slashannots 0.4.0
File Interpreter ABI Platform
pdf_slashannots-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.0 kB

Release files / pdf-slashannots-0.4.0.tar.gz

Download URL pdf-slashannots-0.4.0.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
187fbed2b0ca59b1594c0d2d8b6a9f176e41cc3bbc4f58896bfd826a8fc14e10
BLAKE2b-256 checksum
How to use checksums
c828b81316ae4dce169166d298baf1492843b5dbd23846207342eb879c397bf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.2

Release files / pdf_slashannots-0.4.0-py3-none-any.whl

Download URL pdf_slashannots-0.4.0-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
89b5a34341f4f315eb484939b14f901f0b3462067ddfa53496e452b747f6b1f0
BLAKE2b-256 checksum
How to use checksums
a7e2798381a659492357075deca83fa836590e2281bfcd458d2d92cefc48c5d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.2

Security for pdf-slashannots 0.4.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