Best Python libraries for reading and filling PDF files (buyer asking for advice)

Requested by a visitor · October 26, 2026

We asked 10 models: I'm a Python developer and need a library to read, edit and fill PDF files in my project. Which would you recommend? Each named its own top 10.

Asked 4 ways: List request · Buyer asking for advice · Search query · Worth paying for?. Share of voice pools every wording.

Agreement between models
55%
Same model, run twice
78%
Different picks
26

When agreement between models is well below a model's agreement with itself, the split reflects real differences in taste rather than randomness.

The consensus

We asked 10 models: I'm a Python developer and need a library to read, edit and fill PDF files in my project. Which would you recommend? Each named its own top 10.

Each cell is the position that model gave the pick; blank means it left the pick off. Click a row for each model's reasoning.

#PickScoreListed byClaude Haiku 5.5GPT-6 LunaGemini 4 ArgonQwen 3.8 FlashDeepSeek V4.1 FlashGLM-5.3Kimi K3MiniMax M3Mistral Large 4Nemotron 3.5 Super VL

11 lower-scoring picks are not shown; every ballot below lists them in full.

Most divisive

Picks most models listed, at very different positions

Hot takes

Picks that appear on only one ballot

Every ballot

Hover a pick to find it on the other ballots. Marked picks appear on no other ballot.

Claude Haiku 5.5

  1. pypdf
  2. PyMuPDF
  3. pdfplumber
  4. pdfrw
  5. pikepdf
  6. PyPDF2
  7. ReportLab
  8. fpdf2
  9. pdfminer.six
  10. Apache PDFBox

71% with consensus · 92% self-consistent · knowledge cutoff June 2026

GPT-6 Luna

  1. pypdf
  2. PyMuPDF
  3. PDFium
  4. borb
  5. PDFlib
  6. Aspose.PDF
  7. pdfrw
  8. Apache PDFBox
  9. ReportLab
  10. pikepdf

50% with consensus · 77% self-consistent · knowledge cutoff May 18, 2026

Gemini 4 Argon

  1. PyMuPDF
  2. pypdf
  3. pikepdf
  4. pypdfium2
  5. fillpdf
  6. borb
  7. pdfplumber
  8. PyPDFForm
  9. pdfrw
  10. ReportLab

71% with consensus · 95% self-consistent · knowledge cutoff March 2026

Qwen 3.8 Flash

  1. pypdf
  2. pdfrw
  3. PyMuPDF
  4. pikepdf
  5. Aspose.PDF
  6. ReportLab
  7. Spire.PDF for Python
  8. Camunda... no, 'FPDF'
  9. pdfplumber
  10. borb

53% with consensus · 81% self-consistent · knowledge cutoff not published

DeepSeek V4.1 Flash

  1. pypdf
  2. PyMuPDF
  3. pdfplumber
  4. ReportLab
  5. pikepdf
  6. pdfrw
  7. borb
  8. fpdf2
  9. Aspose.PDF
  10. WeasyPrint

76% with consensus · 99% self-consistent · knowledge cutoff not published

GLM-5.3

  1. PyMuPDF
  2. pypdf
  3. ReportLab
  4. pdfplumber
  5. pikepdf
  6. borb
  7. fpdf2
  8. PyPDF2
  9. pdfminer.six
  10. pdfrw

94% with consensus · 70% self-consistent · knowledge cutoff not published

Kimi K3

  1. pypdf
  2. PyMuPDF
  3. pdfrw
  4. ReportLab
  5. pdfplumber
  6. pikepdf
  7. PDFtk
  8. pdf2image
  9. Aspose.PDF
  10. borb

71% with consensus · 76% self-consistent · knowledge cutoff not published

MiniMax M3

  1. PyMuPDF
  2. ReportLab
  3. pdfplumber
  4. pdfminer.six
  5. pypdf
  6. pikepdf
  7. borb
  8. WeasyPrint
  9. PyPDF2
  10. pdfrw

78% with consensus · 57% self-consistent · knowledge cutoff not published

Mistral Large 4

  1. PyMuPDF
  2. pypdf
  3. ReportLab
  4. pdfplumber
  5. pdfrw
  6. pikepdf
  7. PyPDF2
  8. fillpdf
  9. pdfrw-ng
  10. pdfrw2

95% with consensus · 75% self-consistent · knowledge cutoff not published

Nemotron 3.5 Super VL

  1. PyPDF2
  2. ReportLab
  3. fpdf2
  4. pdfrw
  5. pdfminer.six
  6. pdfplumber
  7. WeasyPrint
  8. PDFKit
  9. xhtml2pdf
  10. PyMuPDF

31% with consensus · 61% self-consistent · knowledge cutoff not published

Who agrees with whom

Overlap between two models' lists, weighted toward the top · 100 means identical · Color runs from 5 (lightest) to 88 (darkest)

Claude Haiku 5.5GPT-6 LunaGemini 4 ArgonQwen 3.8 FlashDeepSeek V4.1 FlashGLM-5.3Kimi K3MiniMax M3Mistral Large 4Nemotron 3.5 Super VL
Claude Haiku 5.5635471886882537027
GPT-6 Luna63496167496434475
Gemini 4 Argon54494857735256696
Qwen 3.8 Flash716148704977335317
DeepSeek V4.1 Flash886757707485617123
GLM-5.3684973497464788827
Kimi K3826452778564517025
MiniMax M3533456336178517437
Mistral Large 4704769537188707430
Nemotron 3.5 Super VL2756172327253730