Skip to main content

sirdas (Python)

Local document parsing for AI agents and machine learning. PDF (including scans), Word, Excel, PowerPoint, OpenDocument, EPUB, HTML, CSV, email and images become Markdown, fields cited with page and position, tables, form fields, cited chunks and training datasets. Nothing is uploaded: it runs on your machine.

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

Metadata

Release files for sirdas 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sirdas 0.4.0
File Size Uploaded Provenance Actions
sirdas-0.4.0.tar.gz 7.5 kB With provenance Details for sirdas-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sirdas 0.4.0
File Interpreter ABI Platform Actions
sirdas-0.4.0-py3-none-any.whl Python 3 none any Details for sirdas-0.4.0-py3-none-any.whl

Total release size: 14.4 kB

Release files / sirdas-0.4.0.tar.gz

Download URL sirdas-0.4.0.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
19c27ba46362ae4208782a02a8131649e5a26efee37444855182af1535638af2
BLAKE2b-256 checksum
How to use checksums
956ded62ab14da44dd85c9b8e35a16cae47192f73f7b5532c1e0e6d3c46774ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / sirdas-0.4.0-py3-none-any.whl

Download URL sirdas-0.4.0-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
345cf18c6e66e48a009bc08ce2216a7d5f8daca54d6a31c8faf127cfa664036f
BLAKE2b-256 checksum
How to use checksums
6772ce99fcf38d2da0930684feb04b8ea6f7a3289de408a1b13c134a9b39c1d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Security for sirdas 0.4.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sirdas-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page