pymupdf retweeted
my top 5 python libraries this month:
- requests
- sqlite3
- tqdm
- concurrent.futures
- PyMuPDF
pymupdf retweeted
Needed to share bank statements but only the lines for one specific vendor. Asked Claude Code to black out everything else across 5 PDFs. It pulled in PyMuPDF, found the right rows, drew redaction boxes, and saved clean copies. Marker-on-paper, automated.
pymupdf retweeted
So how did I make it work?
I extracted the PDF text with PyMuPDF, split it into chunks, turned them into embeddings with Sentence Transformers, and stored them in ChromaDB.
PDF → chunks → embeddings → ChromaDB
That was the basic setup
pymupdf retweeted
proposal for ending the document processing benchmark wars:
1. assume every benchmark is biased (alas)
2. test vendors on your own data
3. choose the one that works
4. everyone stops arguing and we go back to building
thank you for coming to my ted talk
With PyMuPDF4LLM 1.28.2, we move to a fully AGPL v3 licensing with the PyMuPDF Layout package dependency and all the source goes public. The fastest CPU-only layout engine for PDF is now genuinely open source.
Read more: pymupdf.io/blog/open-source-…
Sometimes an open source contribution starts as a problem in your own workflow. The author of this piece wanted PyMuPDF4LLM as a LangChain document loader, found it didn't exist, and built it. This is a great writeup of what followed, from first PR to standalone package: medium.com/@lakinduboteju/bu…
pymupdf retweeted
J'utilise pymupdf4llm qui est adaptée de la librairie PyMuPDF.
Pour des pdf avec du texte et des tableaux, ça marche très bien.
Et on peut même demander au llm de fournir un script basé sur cette librairie pour faire le job de conversion
Tables can be one of the hardest problems in document intelligence. The latest PyMuPDF4LLM release majorly upgrades table extraction, and rebuilds table structure detection from the ground up: rows, columns, and full cell grids. Read more: pymupdf.io/blog/enhanced-tab…
PyMuPDF 1.28 is here! It brings four major upgrades, all built for the AI era:
📊 Better table extraction
🔍 Smarter adaptive OCR
📄 Native Markdown → PDF
📝 Native Office → Markdown
You can now generate PDFs straight from .md with full control over fonts, colors, tables & layout via CSS. Learn more: pymupdf.io/blog/markdown-in-…
pymupdf retweeted
PyMuPDF makes it into the top 3 PDF parsers out there dude.
This thing is magnificent,
It also has PyMuPDF4LLM as an extension for converting PDFs into structured data for a RAG pipeline.
Also has integrations with LangChain and LlamaIndex btw.
Goated stuff.
Before you send a PDF page to OCR or an LLM, ask whether it needs to go at all. PyMuPDF reads char counts, image coverage, tables, and form widgets in milliseconds per page — enough to route each page and skip the spend. Code + walkthrough: artifex.com/blog/using-pymup…
If you're building anything that extracts data from PDFs with an LLM, you eventually hit the question: where on the page did this actually come from? PyMuPDF answers it with exact coordinates pulled from the PDF's own geometry. More about why this matters in document AI: artifex.com/blog/grounding-i…
pymupdf retweeted
Building this project made me realize that AI apps are really multiple tools working together behind the scenes.
FastAPI, FAISS, Groq, SentenceTransformers, PyMuPDF each one solves a different problem, and together they power my RAG system. 🚀
#RAG #BuildInPublic #AI
🤖 Made with AI
pymupdf retweeted
Throwing newer models at a problem is not always the best solution. Obinna Iheanachor explains how combining PyMuPDF with GPT-4 Vision solved a large-scale extraction task faster and cheaper.
towardsdatascience.com/from-…
pymupdf retweeted
Replying to @conorsen
do that locally. ask claude to help you install python and PyMuPDF (also known as fitz) (best open-source Python package for extracting contents from PDFs). zero dollars and will run on a CPU.
pymupdf retweeted
[정보] LLM용 PDF 전처리를 위한 새로운 도구: PyMuPDF4LLM 활용 가이드
(by kyounghee.lee님)
d.ptln.kr/9719
pymupdf retweeted
all depending on if you need OCR,work with embedded texts and or need a LLM to visually understand your PDF
for me a mixture of tesseract, llm and simple layout detection / image extraction works the best.
or github.com/pymupdf/pymupdf4l… for simple technical PDFs
pymupdf retweeted
(5/5)
⚙️ Built with React, FastAPI, CrewAI & PyMuPDF
Exploring how multi-agent systems can simplify real-world healthcare workflows.
Would love your feedback 🙌
#AI #Healthcare #FullStack #OpenSource
The pipeline:
1. Extract text from PDFs (PyMuPDF) and EPUBs (ebooklib)
2. Chunk into 4,602 segments, embed with sentence-transformers
3. Store in ChromaDB for semantic search
4. Extract 983 pasta shape entities, deduplicate down to 123
5. For each shape — multi-query retrieval across all 8 books
6. Generate 136 static pages with Astro
The whole thing runs entirely locally: no API keys or external services.





















