PythonでPDFを扱うノウハウ
pikepdf snippet
pdfminer.six snippet