annotated-pdf-spec
pdfplumber
annotated-pdf-spec | pdfplumber | |
---|---|---|
1 | 29 | |
5 | 5,565 | |
- | - | |
10.0 | 8.2 | |
about 2 years ago | 15 days ago | |
Python | ||
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
annotated-pdf-spec
-
Show HN: I am building a new Python library to read/write PDF files
As others have already written, there are many slightly invalid PDF files out there in the wild that many readers can display mostly fine and which your library should also be able to handle.
If you can, grab yourself a copy of the most recent PDF 2.0 specification since it contains much more information and is much more correct in terms of how to implement things. Also have a look at the errata at https://pdf-issues.pdfa.org/32000-2-2020/index.html.
As I'm implementing a PDF library (in Ruby), I have started to collect some situations that arise in the wild but are not spec-compliant, see https://github.com/gettalong/annotated-pdf-spec. That might help you in parsing some invalid PDFs
pdfplumber
- Running OCR against PDFs and images directly in the browser
-
Google Scholar PDF Reader
- [pdfplumber](https://github.com/jsvine/pdfplumber)
- Parsing dates with PDFminer
-
How to Extract Data from Tables in a Public Record PDF
I recently published a story that was based on some data analysis I did of a report I obtained from the Department of Behavioral Health and Developmental Services in VA. I wanted to share a quick walkthrough of how I extracted the data from tables in a PDF using a Python module called PDFplumber. I also uploaded a video to Youtube if you prefer that.
-
Code to extract text from pdf to excel
I've been working with pdfplumber, which is built atop pdfminer.six. It allows one to break the page up into sections and extract text from them in turn, which may help keep columns separated better.
-
I need to parse unstructured tables from a pdf into a json, what can I do
You could try pdfplumber
-
Advanced PDF to Excel with documents and example code
I'm not sure if there is a way to reliably detect bold characters: https://github.com/jsvine/pdfplumber/issues/724
-
how do I automate extracting data from two pdfs and input into an excel sheet according to an order number
pdfplumber is also pretty good. It can help segment text a bit better than pdfminer can alone.
-
Extracting particular things from pdf program?
To handle machine generated one, a possible package is pdfplumber.
- Convert PDF to text for parsing
What are some alternatives?
pdfquery - A fast and friendly PDF scraping library.
PDFMiner - Python PDF Parser (Not actively maintained). Check out pdfminer.six.
pdfsyntax - A Python library to inspect and modify the internal structure of a PDF file
PyPDF2 - A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files
PyMuPDF - PyMuPDF is a high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.
OCRmyPDF - OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched
i7j-rups - RUPS is an acronym for Reading and Updating PDF Syntax. RUPS is a tool built on top of iText® that allows you to look inside a PDF document and browse the different PDF objects and content streams.
pdfminer.six - Community maintained fork of pdfminer - we fathom PDF
betterwrite - :bookmark_tabs: A Creative Word Processor.
py-pdf-parser - A Python tool to help extracting information from structured PDFs.
pandoc - Universal markup converter