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 throughvera_doc.get_embedderbefore PDF parsing begins, orembedding_function=<object>— any object withmodel_name,dimension, andembed(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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vera_ingest-0.3.1.tar.gz | 42.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vera_ingest-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 70.2 kB
Release files / vera_ingest-0.3.1.tar.gz
| Download URL | vera_ingest-0.3.1.tar.gz |
|---|---|
| Size | 42.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b187791ac8d69fae7dff315a741c1fb80a9c40cb608dfa33509ef33fe529e19
|
|
BLAKE2b-256 checksum How to use checksums |
3aaa8383fc5d3da4924226405d451007561ba7be7586465d77ec1faa17481e83
|
| 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 25, 2026.
Transparency logRelease files / vera_ingest-0.3.1-py3-none-any.whl
| Download URL | vera_ingest-0.3.1-py3-none-any.whl |
|---|---|
| Size | 27.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d215b1a3827cc65a787ef22eca53482b41712c49e697cea70d37bfa4431bded
|
|
BLAKE2b-256 checksum How to use checksums |
f4f2550a98957037792857b1f3f455d9f87b715a671a494a5532bf31a3f7351c
|
| 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 25, 2026.
Transparency log