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; Markdown ingest ships inside this package as provider markdown; Docling ships as the optional vera-ingest-docling package (PDF plus search-only DOCX, PPTX, XLSX, and HTML). 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.2

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.2
File Size Uploaded
vera_ingest-0.3.2.tar.gz 51.6 kB Details

Built distribution (wheel)

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

Total release size: 88.7 kB

Release files / vera_ingest-0.3.2.tar.gz

Download URL vera_ingest-0.3.2.tar.gz
Size 51.6 kB
Tags Source
SHA-256 checksum
How to use checksums
06cef657058712154886778bac26db3a362c4ede333e46fa2450af0df0a31711
BLAKE2b-256 checksum
How to use checksums
c0ecd2f1ad93fdc0cee62c1dc8d7c201f76182c8055940d07cb3d648091d8c9a
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 Sep 11, 2026.

Transparency log

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

Download URL vera_ingest-0.3.2-py3-none-any.whl
Size 37.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
948cb2bcc973bda7a1175b154fcd6ccf50b4c5f2fac3af21093547fada2a1801
BLAKE2b-256 checksum
How to use checksums
19585f88781b08594867b0c9699073733cff34616321d4cc195aa00665693512
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 Sep 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

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