Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Find and extract content in PDFs converted to XML

Project description

# PDFCutter

There are better ways than storing data in a PDF.
**pdfcutter** is for when you need to get it out again.

Works on XML output of `pdftohtml` which belongs to `poppler-utils`.


import pdfcutter

cutter = pdfcutter.PDFCutter(filename='./some.pdf')

name_label = cutter.filter(page=1, search='Name:')
name = cutter.filter(page=1).strictly_right_of(name_label).text()

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pdfcutter, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size pdfcutter-0.0.1-py3-none-any.whl (8.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pdfcutter-0.0.1.tar.gz (7.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page