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=.
Release files for sirdas 0.3.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 | |
|---|---|---|---|
| sirdas-0.3.0.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sirdas-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.5 kB
Release files / sirdas-0.3.0.tar.gz
| Download URL | sirdas-0.3.0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e045e9bae29ce87cbb4d49434df37179c9fdb29b36ce4c29abc8a3dc48de2fb0
|
|
BLAKE2b-256 checksum How to use checksums |
0704f26feac03d84a2ecb863cedbac782d58899cfe4a41c0f16f24aae53410b0
|
| 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 Sep 17, 2026.
Transparency logRelease files / sirdas-0.3.0-py3-none-any.whl
| Download URL | sirdas-0.3.0-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08099d8fcd378a42071ed8edf00e686f13dd6f25b9ff79fc1dc70db784421a2f
|
|
BLAKE2b-256 checksum How to use checksums |
2296a03c3de34b7bff367307fd3bbc0535d8cb791bd4d6d660d5d08a1c9e48cb
|
| 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 Sep 17, 2026.
Transparency log