JoshData / pdf-redactor

A general purpose PDF text-layer redaction tool for Python 2/3.
Creative Commons Zero v1.0 Universal
184 stars 61 forks source link

added option to pass filenames directly to redactor #22

Closed dkloving closed 4 years ago

dkloving commented 5 years ago

This allows for somewhat more intuitive use as well as cleaner and safer code by users, removing the requirement to either pass file names via command line or duplicate the work already done in pdfrw to allow PdfReader and PdfWriter objects to manage opening / closing files on their own.

JoshData commented 5 years ago

Thanks! This is a nice change. Could you just find a good place to add some documentation for it? (I realize the original wasn't well documented, but even so.)

JoshData commented 3 years ago

This PR was accidentally closed when I renamed the master branch to primary. Apologies! You are welcome to open a new PR if you add documentation per the above comment.