pdfmuse-haystack
Haystack converter for pdfmuse — a deterministic PDF/DOCX parser for RAG. Same file in → same Document out.
pip install pdfmuse-haystack
Usage
from pdfmuse_haystack import PdfmuseConverter
converter = PdfmuseConverter(mode="markdown") # or "text" (default)
docs = converter.run(sources=["report.pdf"])["documents"]
In a pipeline:
from haystack import Pipeline
from pdfmuse_haystack import PdfmuseConverter
pipe = Pipeline()
pipe.add_component("converter", PdfmuseConverter(mode="text"))
# ... connect to a splitter / embedder / writer ...
Modes
"text"(default) — plain reading-order text (fast path)."markdown"— structured Markdown (headings + tables).
Extracts text with exact coordinates, tables and structure; no probabilistic models
in the core path, so your index is reproducible run-to-run. Scanned/image-only pages
surface a NeedsOcr warning (OCR is a pluggable backend, kept out of the core).
MIT OR Apache-2.0 · part of the pdfmuse project.
Metadata
Release files for pdfmuse-haystack 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pdfmuse_haystack-0.1.0.tar.gz | 2.4 kB | Without provenance | Details for pdfmuse_haystack-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pdfmuse_haystack-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pdfmuse_haystack-0.1.0-py3-none-any.whl |
Total release size: 5.2 kB
Release files / pdfmuse_haystack-0.1.0.tar.gz
| Download URL | pdfmuse_haystack-0.1.0.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9d1507fc9515114041110d73bd7daaf9774dd0af1f3c93c0253ac5031eba960
|
|
BLAKE2b-256 checksum How to use checksums |
5c1aa26e84692a9c11aeca29d53230f99dc3b85088045151a3d354b963b6fcd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / pdfmuse_haystack-0.1.0-py3-none-any.whl
| Download URL | pdfmuse_haystack-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
366c1e48563760203bd6a5a9bf8487210ca4ed60bba7f62b3cd4d5639d6dcacd
|
|
BLAKE2b-256 checksum How to use checksums |
c282df6051a7bcc1ea3a220ab93c3f2b681328e4a9367fb8c8b34b8aa1897cd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for pdfmuse-haystack 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.