Skip to main content

ParseCraft

Document intelligence: align existing converters, parsers, and OCR/VLM models behind one workflow and one typed output format

Python 3.13 | 3.14+ License CI PyPI

ParseCraft is a thin aggregation and alignment layer for document intelligence. Capable converters, parsers, and OCR/VLM models already exist, but each emits a different shape — and many ship demo-grade wrapper code pinned to an outdated Python version and dependency set. ParseCraft keeps every tool isolated behind a backend, translates its output into a single typed intermediate representation (IR), and projects that IR to deterministic Markdown. You get one workflow and one output format, while every heavy runtime stays optional.

The IR is the source of truth. Backends read a document and produce typed pages and chunks; every rendering — Markdown today, HTML/JSON/consumer trees later — is a projection of that same IR, never parsed back into state.

Requirements

  • Python 3.13 (GIL only — the free-threaded 3.13t build is not supported)
  • Python 3.14 or newer (free-threaded 3.14t builds are suspended, not tested, until the heavy runtimes we use ship free-threaded macOS/Windows wheels — see the ADR-0001 amendment)
  • uv (recommended) or pip to install the package

Install and Quick Start

Install the released package and list the available backends:

uv add parsecraft      # or: pip install parsecraft
uv run parsecraft backends

First release: 2026.9.2. The current version is on PyPI.

Building from a source checkout, running the test suite, and working on the codebase are covered in the development setup.

CLI

Command Description
parsecraft backends List registered backends; load warnings go to stderr
parsecraft backends --json Emit backend descriptors as JSON
parsecraft config check Validate the effective configuration
parsecraft config show Show the resolved configuration with provenance
parsecraft --version (-v) Print the package version
uv run parsecraft backends
# No backends registered.        (no third-party backend installed yet)

See the CLI reference for every command, flag, exit code, and environment variable.

How it works

source document → backend (analyze / convert) → typed IR → Markdown projection
  • Backends are the extension point. A third party ships a BackendFactory under the parsecraft.backends entry-point group; the core package does not change to add one.
  • One typed IR. DocumentResult, PageResult, and StructuredChunk move between layers, and Markdown is a deterministic, dependency-free projection.
  • Heavy runtimes stay optional. Model weights, CUDA, and OCR/VLM stacks load only inside a backend factory, so importing ParseCraft stays offline-clean.
  • Failures are typed. A failed pass records a PassFailure rather than silently dropping a page.

Continue with the architecture overview, the IR model, the backend catalog, and the backend authoring guide.

Documentation

License

MIT — see LICENSE for details.

Metadata

Release files for parsecraft 2026.10.3

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

Source distribution (sdist)

Source distribution for parsecraft 2026.10.3
File Size Uploaded Provenance Actions
parsecraft-2026.10.3.tar.gz 594.3 kB With provenance Details for parsecraft-2026.10.3.tar.gz

Built distribution (wheel)

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

Total release size: 931.5 kB

Release files / parsecraft-2026.10.3.tar.gz

Download URL parsecraft-2026.10.3.tar.gz
Size 594.3 kB
Tags Source
SHA-256 checksum
How to use checksums
78e44f2b5c8c38fceb6a768b8d795a0dbffdcd8a36c0970176c17b830a5b30ba
BLAKE2b-256 checksum
How to use checksums
a148b655d2095c44570d373967854e33a96ec354e01279ae1fa2dd0d2e785d16
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 11, 2026.

Transparency log

Release files / parsecraft-2026.10.3-py3-none-any.whl

Download URL parsecraft-2026.10.3-py3-none-any.whl
Size 337.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
068b6e0716cd0174d0ee5a4a47d58156342e33a9b2255c9a84df0ad47fd35bf7
BLAKE2b-256 checksum
How to use checksums
a27d1b57685a18751cf3a10d4e2a9cddda9513e88fe5587961472bc380347e06
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 11, 2026.

Transparency log

Security for parsecraft 2026.10.3

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 parsecraft-2026.10.3.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 11, 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.

Release history Release notifications | RSS feed

This release

2026.10.3 This release

2 release files Full provenance

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