explosion/spacy-layout
📚 Process PDFs, Word documents and more with spaCy
Leverages Docling for layout-aware document parsing, extracting structured content (sections, headings, tables) as labeled spaCy spans with bounding box coordinates and converting tables to pandas DataFrames. Outputs text-based representations alongside markdown and preserves layout information through custom extension attributes, enabling downstream NLP tasks like entity recognition and RAG chunking on semantically meaningful document regions.
869 stars. No commits in the last 6 months. Available on PyPI.
Stars
869
Forks
61
Language
Python
License
MIT
Category
Last pushed
Mar 08, 2025
Commits (30d)
0
Dependencies
4
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/rag/explosion/spacy-layout"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
PaddlePaddle/PaddleOCR
Turn any PDF or image document into structured data for your AI. A powerful, lightweight OCR...
kreuzberg-dev/kreuzberg
A polyglot document intelligence framework with a Rust core. Extract text, metadata, and...
yfedoseev/pdf_oxide
The fastest PDF library for Python and Rust. Text extraction, image extraction, markdown...
opendataloader-project/opendataloader-pdf
PDF Parser for AI-ready data. Automate PDF accessibility. Open-source.
NanoNets/docext
An on-premises, OCR-free unstructured data extraction, markdown conversion and benchmarking...