Skip to content

Instantly share code, notes, and snippets.

View SkMoran's full-sized avatar

steven SkMoran

  • video rebirth
  • Hong Kong
  • 01:04 (UTC +08:00)
View GitHub Profile
@SkMoran
SkMoran / video_calculator_template.py
Last active May 13, 2026 13:20
video_calculator_template
"""
Standalone template for developing a new video calculator.
This file is intentionally independent from the production repository.
Developers should copy it into their own project and implement a new calculator
by editing the example subclasses near the bottom.
What this template standardizes:
- Input shape: every calculator receives `VideoInput` or `list[VideoInput]`.
- Runtime device: every calculator receives a `DeviceConfig`.