pyPDF2? if you’re comfortable with python scripting
The SO post linked above has some other options, mostly Java based.