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.5.tar.gz (17.0 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.5-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for genblaze_cli-0.3.5.tar.gz
Algorithm Hash digest
SHA256 f42611f42df71333178c7a9a73d863cf8e7afae29fb5422d2e4492b805789bdf
MD5 168f27e7700e023fe206139f8c86b389
BLAKE2b-256 a945b08ff84899ee8e7cb306b22e06844ce15fd1fef324b79a8005ead7a57d79

See more details on using hashes here.

Provenance

The following attestation bundles were made for genblaze_cli-0.3.5.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.5-py3-none-any.whl.

File metadata

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

File hashes

Hashes for genblaze_cli-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 54fac4585aebd3c54099f01c4e7e75be92849c9a18a8a5698fc328b0452adc47
MD5 796ecf148d4f2068404602af33e76387
BLAKE2b-256 968dbf0db1b8d97794a5d1713d0fb6ee95f7edbdc477fec7837beeea0b950081

See more details on using hashes here.

Provenance

The following attestation bundles were made for genblaze_cli-0.3.5-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