Source: https://seerepo.com/compare/geekcomputers/Python/vs/ocrmypdf/OCRmyPDF
Markdown source: https://seerepo.com/compare/geekcomputers/Python/vs/ocrmypdf/OCRmyPDF.md
Description: Python and OCRmyPDF share 4 technologies: Rich, fpdf2, pillow, and Pydantic. Both are written in Python.

# Python vs OCRmyPDF

Python and OCRmyPDF share 4 technologies: Rich, fpdf2, pillow, and Pydantic. Both are written in Python.

- [geekcomputers/Python](https://seerepo.com/r/geekcomputers/Python): My Python Examples
- [ocrmypdf/OCRmyPDF](https://seerepo.com/r/ocrmypdf/OCRmyPDF): OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched

## What they share and what sets them apart

- In common: Rich, fpdf2, pillow, Pydantic
- Only in Python: Django, Flask, FastAPI, mysql-connector-python, pymongo, MongoDB, MySQL, SQLite, Firebase, Google, pygame, AIOHTTP, pyqt6, tornado, matplotlib, pyglet, pyqt5, seaborn, oauth2client, OpenAI, speechrecognition, torch, opencv-python, gtts, torchvision, TensorFlow, googletrans, Keras, MediaPipe, nltk, scikit-learn, newspaper3k, pymupdf, python-docx, beautifulsoup4, pypdf2, xlwt, mutagen, openpyxl, pytesseract, qrcode, xlrd, Gunicorn, psutil
- Only in OCRmyPDF: pdfminer.six, pikepdf, pypdfium2, uharfbuzz

## Side by side

| | Python | OCRmyPDF |
|---|---|---|
| Size | 61,958 lines written, 788 code files | 50,888 lines written, 94 code files |
| Who writes it | 0% of its commits signed by AI. With GitHub Copilot | 2% of its commits signed by AI. With Aider and Claude Code |
| Activity | Last push November 5, 2026, 2,930 commits, 35,474 stars | Last push October 25, 2026, 4,300 commits, 35,254 stars |
| Tests | 14 test files. 0.4% of its code files have a test that imports them | 97 test files. 64.9% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, Python or OCRmyPDF?

Python, with 61,958 lines written; OCRmyPDF has 50,888.

The proof: [geekcomputers/Python's code at commit 6dbf3a7](https://github.com/geekcomputers/Python/tree/6dbf3a711d6d83912866ac6bb59eb8670969f302)

### Which has more GitHub stars, Python or OCRmyPDF?

Python, with 35,474 stars; OCRmyPDF has 35,254.

The proof: [geekcomputers/Python on GitHub](https://github.com/geekcomputers/Python)

### Which has more tests, Python or OCRmyPDF?

OCRmyPDF, with 97 test files; Python has 14.

The proof: [ocrmypdf/OCRmyPDF's code at commit b457e9e](https://github.com/ocrmypdf/OCRmyPDF/tree/b457e9efa68c3a46be2470ffb222ed1bccc4dcbc)

### Which was updated more recently, Python or OCRmyPDF?

Python: its last push was on November 5, 2026, and OCRmyPDF's on October 25, 2026.

The proof: [geekcomputers/Python's commits on GitHub](https://github.com/geekcomputers/Python/commits)

### Which has more commits signed by AI, Python or OCRmyPDF?

OCRmyPDF: an AI signed 2% of its commits, with Aider and Claude Code.

The proof: [the commits each tool signed in ocrmypdf/OCRmyPDF](https://seerepo.com/r/ocrmypdf/OCRmyPDF/ai)

## Sources

- geekcomputers/Python: Read on November 7, 2026, at commit 6dbf3a7 (https://github.com/geekcomputers/Python/tree/6dbf3a711d6d83912866ac6bb59eb8670969f302)
- ocrmypdf/OCRmyPDF: Read on November 7, 2026, at commit b457e9e (https://github.com/ocrmypdf/OCRmyPDF/tree/b457e9efa68c3a46be2470ffb222ed1bccc4dcbc)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
