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.tvrq",
    "index.manifest.json",
    "bge-small-en-v1.5",
    row_id_is_identity=True,
    auxiliary_artifacts=[
        {"name": "ordinaldb.ids", "path": "ids.bin"},
        {"name": "optional.stats", "path": "stats.json", "required": False},
    ],
)
plan = ordvec_manifest.verify_for_load("index.manifest.json")

For OrdinalDB v0.1, keep row_id_identity for the ordvec row count and declare ids.bin as required auxiliary artifact name ordinaldb.ids. Do not encode ids.bin 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.4.0.tar.gz (228.4 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.4.0-cp310-abi3-win_amd64.whl (453.9 kB view details)

Uploaded CPython 3.10+Windows x86-64

ordvec_manifest-0.4.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (557.3 kB view details)

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

ordvec_manifest-0.4.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (535.0 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

ordvec_manifest-0.4.0-cp310-abi3-macosx_11_0_arm64.whl (500.4 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: ordvec_manifest-0.4.0.tar.gz
  • Upload date:
  • Size: 228.4 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.4.0.tar.gz
Algorithm Hash digest
SHA256 52b6001393552cfb0125487e8774bf1b590e08d976a657073fdeea0df2e27580
MD5 62c136ab7d649a62dc7d4821185aeeea
BLAKE2b-256 6bb9604a9c35d121463b06e76e88d1bdf07be7476f17c15d898621cf3a7f4dd3

See more details on using hashes here.

Provenance

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

Publisher: release.yml on Fieldnote-Echo/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.4.0-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for ordvec_manifest-0.4.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2c1768975f47d272e7bb7ad1c9872abf3a16888f439562ae63f8882b326020c4
MD5 8aab245ca8f07a2dd4efdbaffe3fa619
BLAKE2b-256 f59ad259fa326358c6bcc58246c80a24df1e257074554a976c684428995c76ff

See more details on using hashes here.

Provenance

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

Publisher: release.yml on Fieldnote-Echo/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.4.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ordvec_manifest-0.4.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3f296b56feae809749279d1863badb49ceae2edbabef14296883498c50792d36
MD5 801bf38f32743fe96c1353eeb763d749
BLAKE2b-256 85b309fee1bbbab3f807c3c6e949decd5d5abfe7c432419d55ad614161948049

See more details on using hashes here.

Provenance

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

Publisher: release.yml on Fieldnote-Echo/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.4.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for ordvec_manifest-0.4.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 37422a66d399ab1431a4b4c32d4b6ad7fb84b3636decbbc2c87e23db5dc6d426
MD5 8b7a1fb3935065de16f3ef36a99094e3
BLAKE2b-256 f4eb5f4352e794faa973249e27cdd18193bc866207eb907328d782e1ec2b0806

See more details on using hashes here.

Provenance

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

Publisher: release.yml on Fieldnote-Echo/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.4.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ordvec_manifest-0.4.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 859361343b06f7fb5f3690da535aff8c3b1fa3d5f7e7c0ed445bca9ebb838366
MD5 8be0d80f76cb1b26880d110085a1802c
BLAKE2b-256 8f750d31c9d9ad25fe54c66f09c187c7eb98863757af276a5c4450a0c0f23b14

See more details on using hashes here.

Provenance

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

Publisher: release.yml on Fieldnote-Echo/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