Skip to content

PySequence + HashIO Integration for Sequence Hashing #20

@patrickwolf

Description

@patrickwolf

Depends on: Ticket #19 (HashIO handles .hash file and glob hashing)

Feature
Expose HashIO-based sequence hashing inside PySequence, allowing unified sequence tracking and verification.

Proposal for PySeq

  1. Generate

    • generate_hash(path) → returns combined hash of sequence
    • generate_hash_file(path) → writes .hash file using HashIO with the sequence
  2. Verify

    • verify_sequence(path, hash_value) → compares against expected hash
    • verify_sequence(path, hash_file) → compares against .hash file contents
    • (the .hash file can be found automatically from the sequence name ie seq.%4d.exr -> seq.hash or seq.0000.hash)
  3. CLI Extension

    • Add hash/verify commands to existing PySequence CLI
    • Optional: fallback if HashIO not installed

Why It’s Unique

  • PySequence becomes the first file sequence tool with built-in hash-based change detection
  • Enables one-line DB tracking (e.g., seq: shot001.%04d.exr, hash: abc123)
  • Perfect for backup verification, version validation, and vendor ingest checks
  • I can instantiate and verify a pyseq from a single string "shot001.%04d.exr|1000-1001|4540938fsdf"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions