Metadata-Version: 2.5
Name: doctools-m8
Version: 0.1.0
Summary: Media-neutral document toolkit: models, revisions, the versioned artifact envelope, the PDF/plain-text parsers, the parser sandbox supervisor and the provenance verifier.
Author-email: Eli Serra <e.serra173@gmail.com>
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: chunking,documents,ocr,pdf,provenance,sandbox
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Libraries
Classifier: Typing :: Typed
Requires-Python: >=3.12
Requires-Dist: pydantic>=2
Provides-Extra: dev
Requires-Dist: bandit>=1.8.0; extra == 'dev'
Requires-Dist: mypy>=1.14.0; extra == 'dev'
Requires-Dist: ruff>=0.9.0; extra == 'dev'
Provides-Extra: docling
Provides-Extra: pdf
Requires-Dist: pypdfium2>=4; extra == 'pdf'
Provides-Extra: provenance
Requires-Dist: ai-sdk-m8[jobcontext]; extra == 'provenance'
Provides-Extra: sandbox
Requires-Dist: ai-sdk-m8[jobcontext]; extra == 'sandbox'
Provides-Extra: test
Requires-Dist: coverage>=7.0; extra == 'test'
Requires-Dist: pytest-cov>=6.0; extra == 'test'
Requires-Dist: pytest>=8.0; extra == 'test'
Requires-Dist: pyyaml>=6.0; extra == 'test'
Requires-Dist: types-pyyaml; extra == 'test'
Description-Content-Type: text/markdown

# doctools-m8

Media-neutral document toolkit: models and protocols, revision identities,
the versioned and integrity-checked artifact envelope with a bounded
incremental reader, the PDF and plain-text parsers, the parser sandbox
supervisor (invocations, private execution tree, attestation) and the
provenance verifier for the sandbox-attestation and gateway-receipt chain.

> Status: scaffold. The package imports and exposes `__version__` only; the
> models, envelope, parsers, sandbox supervisor and verifier land in later
> releases.

## Install

```bash
pip install doctools-m8
# PDF parsing
pip install "doctools-m8[pdf]"
# the parser sandbox supervisor
pip install "doctools-m8[sandbox]"
# the provenance verifier
pip install "doctools-m8[provenance]"
```

The core package depends on Pydantic v2 only, and `media-service-m8` installs
only the core. No network, database, credential or media dependency is
carried anywhere in this package.

## Development

```bash
pip install -e ".[test,dev,pdf]"
ruff format --check . && ruff check .
mypy doctools_m8
bandit -r doctools_m8 --severity-level medium
pytest --cov-fail-under=100
```

## License

Apache-2.0 — see [LICENSE](LICENSE).
