Skip to content

Instantly share code, notes, and snippets.

@vanschnapen
vanschnapen / anonymize-pdf.py
Last active November 11, 2024 15:45 — forked from wecacuee/LICENSE
Anonymize pdf annotations and metadata
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""anonymize-pdf: Anonymize document and annotation metadata in PDFs.
"""
import argparse
try:
# check if pymupdf is importable (installed)