PyPDF4
A utility to read and write PDFs with Python (by claird)
pdf-lib
Create and modify PDF documents in any JavaScript environment (by Hopding)
Our great sponsors
PyPDF4 | pdf-lib | |
---|---|---|
5 | 24 | |
321 | 6,261 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | 3 months ago | |
Python | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
PyPDF4
Posts with mentions or reviews of PyPDF4.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-02-15.
-
How do I transform many pdfs into text?
There's also a PyPDF4 ... https://github.com/claird/PyPDF4 ...
-
Move links in .pdf to spreadsheet, on password protected .pdf
I looked through PyPDF4 (https://github.com/claird/PyPDF4) and tried to decode a pdf on osx but found that PyPDF4 supports decryption for algorithms 1 or 2 however OSX PDF encryption only writes encrypted pdfs with algorithm 4. So basically, I don't have a tool readily available to create a starting encrypted pdf that could be decrypted by PyPDF4.
-
Minimalistic writing app like focuswriter with pdf export
I'm not a python expert, but I've heard good things about PyQT. You might want to check it out. You can then use PyPDF to read/write PDF files.
-
Markdown to PDF: missing pieces from various approaches, and beyond HTML
PyPDF2 - Python (there seems to be up to PyPDF4, now)
-
Python PDF Generation from HTML with WeasyPrint
While there are numerous ways to handle PDF documents with Python, I find generating or editing HTML far easier and more reliable than trying to figure out the intricacies of the PDF format. Sure, there is the venerable ReportLab, and if HTML is not your cup of tea, I encourage you to look into that option. There is also PyPDF2. Or maybe PyPDF3? No, perhaps PyPDF4! Hmmm... see the problem? My best guess is PyPDF3, for what that is worth.
pdf-lib
Posts with mentions or reviews of pdf-lib.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-27.
-
DEMO - Voice to PDF - Complete PDF documents with voice commands using the Claude 3 Opus API
writePdf: used for writing the final completed PDF after receiving the response from the Claude 3 Opus API, this uses the PDF-lib library to manipulate and modify the final file.
-
Launch HN: Onedoc (YC W24) – A better way to create PDFs
I'm facing that same pain point of programmatic PDF filling. I noodled around in the PDF format and learned it's a bit difficult to deal with fonts and formatting. But I think this client-side library works well enough, as a start: https://pdf-lib.js.org/#:~:text=a%20single%20document.-,Fill...
I've also heard of one paid API that I forgot but seemed to work well, and this related service https://www.jotform.com/, and I also considered porting some server-side libraries to WASM. One day I'll collect all the libraries and findings in a blog post.
Are you looking to programmatically fill any PDF form by detecting the fields? Or are you filling one known PDF template?
-
Show HN: PrivatePDF – minimal PDF editor that runs in the browser
Thanks! For PDF form filling, I use the APIs that pdf-lib [0] exposes. That includes text fields, checkboxes, radio buttons, dropdowns and options lists. Give it a try and let me know if you find a type of form field that's missing.
[0] https://github.com/Hopding/pdf-lib
-
Thinking of throwing in the towel and hiring help - small website business
I do not know if some plugin exists, but maybe you have to take a look at https://pdf-lib.js.org/
- Does no one use PDF files anymore?? In need of a PDF generator package...
-
Is node the right choice for HTML to PDF conversion?
PDFmake or pdf-lib would be the way to go in my opinion.
-
I made a free PDF editor that works in your browser
Sure! You can build your own PDF editor with a combination of PDF.js and PDF-lib
-
I built a wrapper to easily embed my PDF editor (SimplePDF) in any React app!
I stand on the shoulders of giants, namely PDF-lib, PDF-js and React-beautiful-DND – everything else is pretty much custom code.
- PDF editing - client side with canvas or on server?
-
How can I use PDF-Lib in Cloudflare Workers?
How one can use a library such as PDF-Lib (npm, website) that:
What are some alternatives?
When comparing PyPDF4 and pdf-lib you can also consider the following projects:
PyPDF2 - A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files
PDFKit - A JavaScript PDF generation library for Node and the browser