Skip to main content

PDFMiner Wrapper & Other PDF utilities

Project description

pdf-wrangler

PDFMiner wrapper used to simplify PDF extraction. More functionalities to come to make it a more general purpose PDF utility tool.

Document class

The Document class is used to represent a PDF document. It contains functionality to access the raw text by page, PDF metadata and images in the form of PDFMiner's LTImage objects.

Example Usage

from pdf_wrangler import Document

pdf_document = Document('path/to/pdf', password='optional password')

# to access pdf metadata
pdf_document.get_metadata()

# to access pdf text
pdf_document.get_text()

# to access pdf text on first page
pdf_document.pages[0].get_text()

Installation

To install, run:

pip install pdf-wrangler

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 pdf-wrangler, version 0.0.24
Filename, size File type Python version Upload date Hashes
Filename, size pdf_wrangler-0.0.24-py3-none-any.whl (4.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pdf_wrangler-0.0.24.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page