Skip to main content

CLI for genblaze manifest operations

Project description

genblaze-cli

Command-line toolkit for inspecting, verifying, and indexing genblaze AI-generated-media provenance manifests.

genblaze-cli is the companion CLI for genblaze — the Python SDK for generative AI pipelines across video, image, and audio. It lets anyone (not just Python developers) audit AI-generated media: extract the embedded provenance manifest from an MP4 / PNG / MP3, verify its manifest hash and output sha256 coverage, replay a run, or index manifests into Parquet for downstream analytics.

Why genblaze-cli

  • Audit AI-generated media in one commandgenblaze verify video.mp4 confirms a file's manifest hash hasn't been tampered with and all output assets declare sha256.
  • Works on any genblaze output — PNG, JPEG, WebP, MP4, MP3, WAV with embedded manifests.
  • Analytics-readygenblaze index emits partitioned Parquet tables (runs, steps, assets) for BI tools and data warehouses.
  • Zero provider dependencies — reads manifests; doesn't call any AI API.
  • Shell-friendly — non-zero exit codes on verification failure, pipeable JSON output.

Install

pip install genblaze-cli

Installs the genblaze console script.

Usage

genblaze --help

genblaze extract video.mp4                # Extract embedded manifest → stdout (JSON)
genblaze extract video.mp4 -o m.json      # …or to a file

genblaze verify video.mp4                 # Verify manifest hash + output sha256 declarations
genblaze verify video.mp4 --fetch         # …and re-hash the actual asset bytes
genblaze verify manifest.json             # Or verify a standalone manifest file

genblaze replay manifest.json             # Show what a replay would do (dry run)

genblaze index manifest.json -o data/     # Index into partitioned Parquet tables

Exit codes are non-zero on verification failure; safe to drop into CI pipelines, release checks, or content-moderation workflows. By default verify checks the manifest only; --fetch also downloads each output asset (through the same SSRF-hardened transfer path the pipeline uses) and compares its bytes against the declared sha256. Local pipelines that wrote assets outside the system temp directories (e.g. output_dir=./out) can admit them with --allowed-root <dir>.

Typical flow

# 1. Someone ships you an AI-generated video
genblaze extract delivered-ad.mp4 -o manifest.json

# 2. Confirm it hasn't been tampered with
genblaze verify delivered-ad.mp4

# 3. Index into your analytics warehouse
genblaze index manifest.json -o s3://analytics/genblaze/

Documentation

Related packages

License

MIT

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

genblaze_cli-0.3.6.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

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

genblaze_cli-0.3.6-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file genblaze_cli-0.3.6.tar.gz.

File metadata

  • Download URL: genblaze_cli-0.3.6.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for genblaze_cli-0.3.6.tar.gz
Algorithm Hash digest
SHA256 d48c267e91dc3cd6b154a7dec82d168922c28772fbecd29552eb9cb5e5ac88bc
MD5 6d5800cd8128248b0104229982506ea6
BLAKE2b-256 f14e7cd93b994e0468d46d0843c507455115f5f7323aa33bec9a08c8c92c03ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for genblaze_cli-0.3.6.tar.gz:

Publisher: release.yml on backblaze-labs/genblaze

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

File details

Details for the file genblaze_cli-0.3.6-py3-none-any.whl.

File metadata

  • Download URL: genblaze_cli-0.3.6-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for genblaze_cli-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 de54065bd1741d0088f55c4b4fbe3a23d698c32a37532f0929124331265c921d
MD5 bd9a326e0a989b3c8d7dfce9269c7e73
BLAKE2b-256 d2ebb9d16260f1361fe502439c18c48f012363b7c824f55bf25a774e81c1b6ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for genblaze_cli-0.3.6-py3-none-any.whl:

Publisher: release.yml on backblaze-labs/genblaze

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