CosmosShadow/gptpdf
Using GPT to parse PDF observed · 2026-08-28
Health v2 · maintenance only
31/100
- Activity 17
- Release rhythm 35
- Longevity 56
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 796
- days_rel: n/a
- days_push: 503
- n_releases_24m: 0
Adoption not part of the score
3564 stars · 260 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A small Python library that parses PDF files into Markdown using a vision-capable LLM such as GPT-4o. It uses PyMuPDF to detect non-text areas and sends them to a multimodal model to handle formulas, tables, charts, and images.
Use cases
- convert pdf to markdown
- extract math formulas from pdf
- parse tables and charts from pdf documents
- ocr pdf with gpt-4o
- convert research papers to markdown
- extract images from pdf while converting text
When to choose
- you need high-fidelity PDF-to-Markdown conversion including formulas, tables, and charts
- you have access to an OpenAI-compatible vision model API and per-page cost (~$0.013) is acceptable
- you want a simple, minimal Python API (parse_pdf) rather than a heavy pipeline
When to avoid
- you need fully offline or free parsing with no LLM API costs
- you must process large volumes of PDFs where per-page API charges are prohibitive
- you need pixel-perfect layout reproduction rather than Markdown output
Facets
library · maturity active
pdf ocr llm-inference parser pdf large-language-models developer-tools python cross-platform pdf-to-markdown vision-language-model document-parsing openai-api
2 sources
- readme: https://github.com/CosmosShadow/gptpdf · fetched 2026-08-28 · 6fe2e5e57a76
- registry_pypi: https://pypi.org/pypi/gptpdf/json · fetched 2026-08-29 · 272ed6a1d07b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| CosmosShadow/gptpdf | main | 31 |
For agents
markdown · JSON · MCP: product_card(name="CosmosShadow/gptpdf")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem