Skip to content

Commit e4ef5b9

Browse files
authored
DOC: Add comparison with pdfplumber (#1837)
1 parent c5dc49a commit e4ef5b9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/meta/comparisons.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,17 @@ than PyPDF2. See [history of pypdf](history.md).
5050
[QPDF]: https://github.com/qpdf/qpdf
5151

5252

53-
## pdfminer
53+
## pdfminer.six and pdfplumber
5454

5555
[`pdfminer.six`](https://pypi.org/project/pdfminer.six/) is capable of
5656
extracting the [font size](https://stackoverflow.com/a/69962459/562769)
5757
/ font weight (bold-ness). It has no capabilities for writing PDF files.
5858

59-
## pdfrw / pdfminer / pdfplumber
59+
[`pdfplumber`](https://pypi.org/project/pdfplumber/) is a library focused on extracting data from PDF documents. Since `pdfplumber` is built on top of `pdfminer.six`, there are **no capabilities of exporting or modifying a PDF file** (see [#440 (discussions)](https://github.com/jsvine/pdfplumber/discussions/440#discussioncomment-803880)). However, `pdfplumber` is capable of converting a PDF file into an image, [draw lines and rectangles on the image](https://github.com/jsvine/pdfplumber#drawing-methods), and save it as an image file.
60+
61+
The `pdfplumber` community is active in answering questions and the library is maintained as of May 2023.
62+
63+
## pdfrw / pdfrw2
6064

6165
I don't have experience with any of those libraries. Please add a
6266
comparison if you know pypdf and [`pdfrw`](https://pypi.org/project/pdfrw/)!
@@ -66,8 +70,6 @@ Please be aware that there is also
6670
Then there is [`pdfrw2`](https://pypi.org/project/pdfrw2/) which doesn't have
6771
a large community behind it.
6872

69-
And there is also [`pdfplumber`](https://pypi.org/project/pdfplumber/)
70-
7173
## Document Generation
7274

7375
There are (Python) [tools to generate PDF documents](https://github.com/py-pdf/awesome-pdf#generators).

0 commit comments

Comments
 (0)