PyPDF2
Camelot
Our great sponsors
PyPDF2 | Camelot | |
---|---|---|
30 | 10 | |
7,396 | 2,639 | |
4.1% | 3.4% | |
9.5 | 6.9 | |
4 days ago | 24 days ago | |
Python | Python | |
BSD 3-Clause | 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.
PyPDF2
- Yara scanning PDF files
- I need help install PyPDF2 library on my computer
-
How to convert SVGs containing text to a PDF?
I still haven't needed to do that part in Rust yet, unfortunately. My mother is still using the pypdf-based concatenator I wrote for her years ago.
-
Recommendations for parsing text from .pdf files
I did an extremely quick search and am linking this without knowing anything about it.
-
Learning programming from the beginning to extract data from PDFs?
Pretty much study Python until this Github repo'd Readme makes sense!: https://github.com/py-pdf/PyPDF2
- Is there a GUI for PyPDF2?
-
Any good tutorials for working with pdfs in Rust?
As other posters have said, if you're just generating PDFs, that's doable with minor library support. If you want to open existing PDFs and do anything non-trivial with them, you'll want a mature, powerful PDF parsing library. PDFKit, which is part of macOS is pretty amazing. If you need portability, something like Python's PyPDF2 is probably the best bet. Knowing the Rust community, though, we'll probably get a library at least as good in Rust in a surprisingly short amount of time.
-
PyPDF4 merger not merging pdf's - what am I doing wrong?
Why are you using PyPDF4 which seems to have no active maintainer and no documentation instead of PyPDF2 which has both?
-
Print View
one of many options
-
The Pdfalyzer is a tool for visualizing the inner tree structure of a PDF in large and colorful diagrams as well as scanning its internals for suspicious content
Feel free. I poked around the PyPDF2 code and it seems like reading signatures is something it supports via xfa_form property (GitHub issue where this was discussed; seems to have been closed v. recently) . would probably be a very simple PR provided you knew where to look for that property.
Camelot
-
Show HN: How do you OCR on a Mac using the CLI or just Python for free
I had good repeated success extracting tables from PDFs using Camelot (Python, https://github.com/camelot-dev/camelot)
-
How to query the table part of PDF
I found this today and it is working well https://github.com/camelot-dev/camelot
-
Camelot: DeprecationError: PdfFileReader is deprecated and was removed in PyPDF2 3.0.0. Use PdfReader instead.
here is the corresponding bug report in git: https://github.com/camelot-dev/camelot/issues/339
-
HELP! Data Prep from PDF file having Tabular Data?
Try https://github.com/camelot-dev/camelot. It seems like this should work on your case.
-
Camelot VS ExtractTable-py - a user suggested alternative
2 projects | 2 Feb 2022
- Need help with indexing pdf tables in python
-
exporting handwritten dataset as text, export it and use it as a csv
Yeah, I’m pretty sure the Remarkable OCR is not up to these kinds of tasks unfortunately. If you know some coding you could write something that’d likely work well in Python using for ex. this for receiving the mail attachment and this for converting the PDF to CSV. This is in case you’d write your data as a table on the Remarkable, which I guess is preferable to writing something like (0.5, 8.4, -0.3). If you’d rather do it that way, there are other more suitable OCR tools like this one. The checkbox use-case in the comment above would also be possible by modifying this approach. DM if you’d like to discuss further work.
- Camelot: PDF Table Extraction for Humans
-
Show HN: I made a tool to convert images of tables to CSV
Looks like it's a bit in-progress: https://github.com/camelot-dev/camelot/pull/209
"Update docs" isn't checked, and that's what I was going on.
What are some alternatives?
PDFMiner - Python PDF Parser (Not actively maintained). Check out pdfminer.six.
image-table-ocr - Turn images of tables into CSV data. Detect tables from images and run OCR on the cells.
ReportLab
pdfplumber - Plumb a PDF for detailed information about each char, rectangle, line, et cetera — and easily extract text and tables.
pdftabextract - A set of tools for extracting tables from PDF files helping to do data mining on (OCR-processed) scanned documents.
WeasyPrint - The awesome document factory
pytesseract - A Python wrapper for Google Tesseract
borb - borb is a library for reading, creating and manipulating PDF files in python.
textract - extract text from any document. no muss. no fuss.
Kaitai Struct - Kaitai Struct: declarative language to generate binary data parsers in C++ / C# / Go / Java / JavaScript / Lua / Nim / Perl / PHP / Python / Ruby