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
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.22.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for pdf_wrangler-0.0.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c5cb16f62307a1dc19350f0f9bbe318735e9d0fb722e75b08f3e1cb56f3737f |
|
MD5 | 342344573652778309ed45219ef76810 |
|
BLAKE2b-256 | a3dd3945a0cf231300892575380c55cf140e0c9ae252aa0dcb54c840d3405832 |