Skip to main content

Python bindings for ordvec index manifest verification

Project description

ordvec-manifest

Python bindings for the ordvec-manifest verifier.

Install from PyPI:

python -m pip install ordvec-manifest

Import as ordvec_manifest. The package exposes the Rust manifest verifier as dict-returning Python functions:

import ordvec_manifest

report = ordvec_manifest.verify_manifest("index.manifest.json")
if not report["ok"]:
    raise RuntimeError(report["errors"])

Create manifests with caller-owned sidecars by passing dictionaries with name, path, and optional required:

manifest = ordvec_manifest.create_manifest(
    "index.ovrq",
    "index.manifest.json",
    "bge-small-en-v1.5",
    row_id_is_identity=True,
    auxiliary_artifacts=[
        {"name": "app.ids", "path": "ids.bin"},
        {"name": "optional.stats", "path": "stats.json", "required": False},
    ],
)
plan = ordvec_manifest.verify_for_load("index.manifest.json")

A consuming database can keep row_id_identity for the ordvec row count and declare its ID sidecar file as a required auxiliary artifact (e.g. app.ids). Do not encode the ID sidecar as JSONL row identity; the v1 JSONL row-map contract is UUID-only.

The verifier checks manifest shape, declared artifact digests and sizes, probed ordvec index metadata, row identity, auxiliary artifact state, optional calibration profiles, optional encoder-distortion profiles, and attestation shape metadata. It does not sign artifacts, manage keys, call networks, mutate index files, or decide deployment policy.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ordvec_manifest-0.5.0.tar.gz (356.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ordvec_manifest-0.5.0-cp310-abi3-win_amd64.whl (460.4 kB view details)

Uploaded CPython 3.10+Windows x86-64

ordvec_manifest-0.5.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (561.5 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

ordvec_manifest-0.5.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (541.1 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

ordvec_manifest-0.5.0-cp310-abi3-macosx_11_0_arm64.whl (508.2 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

Details for the file ordvec_manifest-0.5.0.tar.gz.

File metadata

  • Download URL: ordvec_manifest-0.5.0.tar.gz
  • Upload date:
  • Size: 356.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for ordvec_manifest-0.5.0.tar.gz
Algorithm Hash digest
SHA256 c41c2ca3515a1f7495c0e80b6bbc3459a5433e5a38092c955cf55643e01ef16d
MD5 d6560cb0137831fdd943688ca835e5fd
BLAKE2b-256 b8586a871bc9df10b19906c0a9201f45f5e189d175b769dda7746a4a8d12866d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ordvec_manifest-0.5.0.tar.gz:

Publisher: release.yml on Project-Navi/ordvec

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ordvec_manifest-0.5.0-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for ordvec_manifest-0.5.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b75ddb4e86bdace90b564b4163899ca47258289df1faa6ff263314c6a4a5ce02
MD5 b3c416e2a97b868031138255e5c0647b
BLAKE2b-256 36d54fbda5ea7d02812a058a694e9372ea729b6e9f317798a7cef27588820196

See more details on using hashes here.

Provenance

The following attestation bundles were made for ordvec_manifest-0.5.0-cp310-abi3-win_amd64.whl:

Publisher: release.yml on Project-Navi/ordvec

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ordvec_manifest-0.5.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ordvec_manifest-0.5.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6d7aaeca5a8a6bcc79da70cc2e06cadaf9dd6ddd15ee82f3218e8b86a08826f5
MD5 69d550a2ed251bbc6937b9836447660c
BLAKE2b-256 9d38a2a0aa2b069bd579372dbc6d683c89cc8530a3efb9dc46206bf5d177ff93

See more details on using hashes here.

Provenance

The following attestation bundles were made for ordvec_manifest-0.5.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on Project-Navi/ordvec

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ordvec_manifest-0.5.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for ordvec_manifest-0.5.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1ac8440e1b1a2f2b434f9ac6c41124094a1a9a2dadf9295dcf4c83e83796ba4d
MD5 bca27d00bd41bd724901033a0fcac820
BLAKE2b-256 9d480e9b1b1ca372ff36813406342aeba3a1654a84fc5f07de25f1e543ff65c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for ordvec_manifest-0.5.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on Project-Navi/ordvec

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ordvec_manifest-0.5.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ordvec_manifest-0.5.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8e9b2b781163f1d87adccff6c77ec29b121569a418f72c262a359e945a820c1c
MD5 95d7b1ea3806aa3feaf0bc06bf505f0a
BLAKE2b-256 2795418880697c98d524644cd1742e41db9b1e992b91c329aa9ebb53a660478b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ordvec_manifest-0.5.0-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on Project-Navi/ordvec

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page