Local document parsing for AI agents and ML: PDF, Word, Excel, PowerPoint, HTML, email and scans to Markdown, cited fields, chunks and datasets. Nothing is uploaded.
pip install sirdas==0.4.2 Copy PIP instructions
pip install sirdas # needs Node.js 20+ (the engine is shared with the CLI and MCP server) import sirdas doc = sirdas.read("factura.pdf") # one call does it all doc["document_type"] # "factura" {f["name"]: f["value"] for f in doc["fields"]} # número, CUFE, NIT, IVA, total… each with page, evidence and bbox doc["next_steps"] # what to do next sirdas.convert("informe.docx")["markdown"] sirdas.split_documents("lote-escaneado.pdf", output_dir="separados/") sirdas.forms("formulario.pdf") # filled fields and checkboxes sirdas.dataset(["a.pdf", "b.docx"], "ds/", format="alpaca") # + Hugging Face dataset card LangChain and LlamaIndex:
from sirdas.integrations import SirdasLoader, SirdasReader docs = SirdasLoader("contrato.pdf").load() # langchain Documents, stable ids nodes = SirdasReader().load_data("historia.pdf") # llama_index Documents Personal data is anonymized by default (anonymize=False to keep it). Password-protected PDFs raise PasswordRequired; pass password=.
Docs: https://www.sirdaspdf.com/docs/agents/python.md
ai-agents anonymization dataset document-parsing fine-tuning langchain llamaindex llm local-first ocr pdf rag
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.




