PDFMiner Wrapper for extractions
Project description
pdf-wrangler
PDFMiner wrapper used to simplify PDF extraction and other PDF utilities.
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
object.
Example Usage
from pdf_wrangler import Document
pdf_document = Document('path/to/pdf', password='optional parameter for pdf 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pdf_wrangler-0.0.25.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for pdf_wrangler-0.0.25-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58d83a06740a97ba3a52c78563e0a48c0aba3f175fc73e80359cb1f53cd8b860 |
|
MD5 | 7e7859a6455a6073429208c2e79c1444 |
|
BLAKE2b-256 | 6e281a834f543287789b72f367bde368f6effc692240c5817997fb8fc11c101e |