AI-enabled Python Intelligent Document Processing with 6-stage pipeline and Pydantic schemas.
Six-stage pipeline with Pydantic schemas, 12+ LLM backends, self-hosted OCR, and HITL review.
py-idp is a Python toolkit for processing complex documents like invoices and contracts using LLMs. It suits backend engineers and supply chain developers building automated document extraction pipelines.
It provides a six-stage pipeline spanning parsing via Docling or pdfplumber, classification, extraction, confidence assessment, Pydantic validation, and Streamlit-based human-in-the-loop review. It supports auto-chunking for oversized documents, self-hosted Nanonets-OCR2-3B, and auto-schema discovery.
Suits Python developers automating logistics and supply chain document workflows. Does not suit teams lacking Python skills or those wanting a fully managed SaaS without self-hosting infrastructure.
Parse, classify, extract, assess, validate, and route documents programmatically.
Enforce strict typing and validation on all extracted document fields.
Connects to 12+ international and China LLM providers plus self-hosted VLM options.
Includes a Streamlit UI to review low-confidence extractions and save corrections.
The core package is available under the AGPL-3.0-or-later license, and a commercial license is also available. The only cost is running your own infrastructure and LLM API usage.
880 open remote AI-training roles, updated November 15, 2026; most pay $20–$175 an hour. Zekai lists them free; the application goes to the employer’s platform.
No, the core install ships with an in-tree mock backend that lets you test extractions without any API keys.
It features built-in auto-chunking for oversized documents to fit within token budgets.
Yes, it includes a built-in Streamlit UI for human-in-the-loop review and correction persistence.
See Zekai first in Google