From 1b7008d6347b863fabadc9d515eb472c19bc0fc9 Mon Sep 17 00:00:00 2001 From: Lucas Cimon <925560+Lucas-C@users.noreply.github.com> Date: Wed, 13 Jan 2021 06:44:36 +0100 Subject: [PATCH 1/2] Update "Other libs" section of README.md --- README.rst | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index f41fb76..01e8338 100644 --- a/README.rst +++ b/README.rst @@ -686,9 +686,9 @@ Pure Python reportlab is must-have software if you want to programmatically generate arbitrary PDFs. -- `pyPdf `__ +- `PyFPDF `__ - pyPdf is, in some ways, very full-featured. It can do decompression + PyPDF is, in some ways, very full-featured. It can do decompression and decryption and seems to know a lot about items inside at least some kinds of PDF files. In comparison, pdfrw knows less about specific PDF file features (such as metadata), but focuses on trying @@ -698,6 +698,10 @@ Pure Python cases, it does not actually need to decompress objects -- they can be left compressed. + PyPDF is not maintained anymore, but it has a successors: + `PyFPDF2 `__ + and `fpdf2 `__. + - `pdftools `__ pdftools feels large and I fell asleep trying to figure out how it @@ -726,6 +730,18 @@ Pure Python text formats (such as HTML). It has an extensible PDF parser that can be used for other purposes instead of text analysis." +- `pikepdf `__ + + pikepdf is a Python library for reading and writing PDF files, based on C++ lib QPDF. + +- `WeasyPrint `__ + + WeasyPrint is a visual rendering engine for HTML and CSS that can export to PDF. + It aims to support web standards for printing. + It is based on various libraries but not on a full rendering engine like WebKit or Gecko. + The CSS layout engine is written in Python, designed for pagination, + and meant to be easy to hack on. + non-pure-Python libraries ------------------------- From 19dbdeb34672126e675c3183a3ed0e84f2b8111a Mon Sep 17 00:00:00 2001 From: Lucas Cimon <925560+Lucas-C@users.noreply.github.com> Date: Wed, 13 Jan 2021 09:38:35 +0100 Subject: [PATCH 2/2] README.rst: moving pikepdf to correct section --- README.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 01e8338..2aeb39d 100644 --- a/README.rst +++ b/README.rst @@ -730,10 +730,6 @@ Pure Python text formats (such as HTML). It has an extensible PDF parser that can be used for other purposes instead of text analysis." -- `pikepdf `__ - - pikepdf is a Python library for reading and writing PDF files, based on C++ lib QPDF. - - `WeasyPrint `__ WeasyPrint is a visual rendering engine for HTML and CSS that can export to PDF. @@ -745,6 +741,8 @@ Pure Python non-pure-Python libraries ------------------------- +- `pikepdf `__ read and write PDF files, + based on C++ lib QPDF. - `pyPoppler `__ can read PDF files. - `pycairo `__ can write PDF