Skip to content
YosoiDocs

yosoi.documents

yosoi.documents

Immutable Pydantic documents with Rust-owned parse and locate operations.

Source: python/yosoi/documents.py:1

Name Summary
BoundDocument Retained document paired with a serialized policy snapshot.
Document Immutable document bytes with retained native parse ownership.
DocumentProfile Validated representation and schema for retained payload bytes.
ParsedDocument A reusable Rust parse; close explicitly or use it as a context manager.
Name Summary
DocumentClass Native capability classes; source, rendered DOM, and accessibility evidence are not interchangeable.
SourceFormat Payload syntax accepted by source profiles: HTML, XML, JSON, or UTF-8 text.