borb
pikepdf
Our great sponsors
borb | pikepdf | |
---|---|---|
66 | 4 | |
3,283 | 2,026 | |
- | 2.1% | |
5.2 | 9.5 | |
about 1 month ago | about 23 hours ago | |
Python | Python | |
GNU General Public License v3.0 or later | Mozilla Public License 2.0 |
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.
borb
- Caffè Italia * 30/04/23
- Borb: the open source PDF engine
-
Generating PDF from some sort of template (jinja2) with headers, footers, images, not just a printed HTML document.
Have you looked at borb? I’m not sure if it’s exactly what you need I found it useful when doing something similar to you
-
looking for an "low dependency" or pythonesque way to generate PDF's
You might take a look at borb
-
fpdf2.5.2 : SVG support and comparison with borb
I will also perform a quick comparison with the borb library.
- borb, the open-source pure Python PDF engine
- borb: the open-source pure Python PDF engine
-
borb, the pure Python PDF library
Get borb from source on GitHub, or download using PyPi.
- borb v2.0.16
- borb, the open source pure Python PDF library: new release
pikepdf
-
This Week in Python
pikepdf – A Python library for reading and writing PDF, powered by qpdf
-
Recovering redacted information from pixelated videos
Not off the shelf but here are some tools. I have no experience with them.
Wolf binarization - I think it makes the text more clear before OCR.
https://github.com/chriswolfvision/local_adaptive_binarizati...
This thing OCRs the pdf using Tesseract OCR
https://github.com/ocrmypdf/OCRmyPDF/
Two other pdf tools
https://github.com/qpdf/qpdf
https://github.com/pikepdf/pikepdf
-
Show HN: Pystitcher – A Declarative Alternative to Pdftk
i recently transitioned a large PDF processing pipeline[1] away from PyPDF3 to use the pikepdf[2] library instead. pikepdf is based on the C++ `qpdf` library, and this switch has cut the necessary special-case manual checking + error handling in half compared to pypdf for these sorts of tasks.
[1]: i'm helping out with the CV Open Access archive, https://openaccess.thecvf.com/menu. broadly, our pipeline needs to ingest tons of author-provided PDFs of varying quality and output a canonical PDF with corrected page numbers, proper metadata, and a banner stamped on the first page. it's a lot of work, and it's not uncommon for pypdf to simply fail for slightly invalid input or give garbled results. this isn't optimal since we can't review 2,000 papers per conference release lol. pypdf has been nice, but pikepdf has handled everything i've thrown at it.
[2] https://pikepdf.readthedocs.io
- a collection of pdf-files (copy of a book ) in disorder: solfing wiht pikepdf
What are some alternatives?
ReportLab
fpdf2 - Simple PDF generation for Python
PyPDF2 - A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files
PyPDF2 - A utility to read and write PDFs with Python [Moved to: https://github.com/py-pdf/PyPDF2]
PDFMiner - Python PDF Parser (Not actively maintained). Check out pdfminer.six.
qpdf - QPDF: A content-preserving PDF document transformer
pdf2docx - Open source Python library for converting PDF to DOCX.
malicious-pdf - 💀 Generate a bunch of malicious pdf files with phone-home functionality. Can be used with Burp Collaborator or Interact.sh
WeasyPrint - The awesome document factory
python-anvil - Python library and CLI for the Anvil API