pdfparanoia/pdfparanoia/plugin.py

18 lines
316 B
Python

# -*- coding: utf-8 -*-
"""
pdfparanoia.plugin
~~~~~~~~~~~~~~~
Defines how plugins work.
"""
class Plugin:
@classmethod
def scrub(cls, content, verbose=False):
"""
Removes watermarks from the given pdf.
"""
raise NotImplementedError("must be implemented by the subclass")