Skip to main content

vera-ingest

vera-ingest contains VERA's provider-neutral ingestion core: shared types, descriptors, option parsing, a strict ingest-pipeline registry, conversion, chunking helpers (build_chunks_from_blocks for structured layout, chunk_pages / detect_heading for custom page-text pipelines), and archive viewer conventions. Parsers emit ParsedBlock; convert with IngestBlock.from_parsed before returning IngestResult.blocks.

PDF conversion pipelines register through the vera.ingest_pipelines entry-point group. The default pymupdf provider ships as vera-ingest-pymupdf; Docling ships as the optional vera-ingest-docling package. Pipelines return a normalized IngestResult; convert() writes validated archives through one shared atomic path.

Each pipeline owns typed chunking/OCR defaults, validation, and a descriptor of supported fields. New convert() callers should pass parser, pipeline_options, and embedder settings (model / embedding_function / embedder_options). Shared convert accepts opaque pipeline_options on a thin IngestRequest. Legacy kwargs (chunk_size, overlap, ocr_mode, ocr_language, ocr_dpi) remain compatibility aliases; descriptor fields and OCR engine control which aliases are forwarded (Tesseract-shaped ocr_language/ocr_dpi/ocr_download only go to Tesseract pipelines), and explicit pipeline_options win. Omitted convert() aliases mean the pipeline's own default (they are not replaced by 500/eng/…).

It emits ready-made vera_doc.ChunkRecord values and optional opaque attachments, then stores them through vera_doc.VeraDocument. It also provides vera_ingest.viewer helpers that interpret ingest-produced page, figure, region, and source-document conventions.

Install

python -m pip install "vera-ingest>=0.3.0"

For PDF conversion, also install a pipeline plugin (the CLI and desktop app pull in vera-ingest-pymupdf by default):

python -m pip install "vera-ingest-pymupdf>=0.3.0"

From a repository checkout:

python -m pip install ./packages/vera-doc ./packages/vera-ingest ./packages/vera-ingest-pymupdf

See the vera-ingest documentation for concepts, examples, and API reference.

See the conversion guide.

Embedding model selection

convert() and batch_convert() accept either:

  • model="hashing" / model="sentence-transformers:all-MiniLM-L6-v2" — resolved through vera_doc.get_embedder before PDF parsing begins, or
  • embedding_function=<object> — any object with model_name, dimension, and embed(texts).

Unknown model specs raise vera_doc.UnknownEmbeddingModelError. To add a named provider without forking VERA, register a factory with vera_doc.register_embedder or ship a vera.embedders entry-point plugin.

Metadata

Release files for vera-ingest 0.3.0

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

Source distribution (sdist)

Source distribution for vera-ingest 0.3.0
File Size Uploaded
vera_ingest-0.3.0.tar.gz 41.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vera-ingest 0.3.0
File Interpreter ABI Platform
vera_ingest-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 68.0 kB

Release files / vera_ingest-0.3.0.tar.gz

Download URL vera_ingest-0.3.0.tar.gz
Size 41.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f6a26237e2ab3194c3a9224f03612f1d395e2e1aeb399593973ab401d9385fe7
BLAKE2b-256 checksum
How to use checksums
3b92524031deefb5c4e988be36d72757a80369eb077923e23deb806000493f21
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 Aug 21, 2026.

Transparency log

Release files / vera_ingest-0.3.0-py3-none-any.whl

Download URL vera_ingest-0.3.0-py3-none-any.whl
Size 26.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0456a775d04b7bbc2c074a1d1ac3781f2326587c3a91bbf09bd63ed97ceed55f
BLAKE2b-256 checksum
How to use checksums
ac34dde05ecb72262e6ffa703ab9477b7242d355dd9e19858e747f48941c3994
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 Aug 21, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.2

2 release files

0.3.1

2 release files

This release

0.3.0 This release

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.1

2 release files

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