Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/calesthio/OpenMontage
/ functions
Functions
1,491 in github.com/calesthio/OpenMontage
⨍
Functions
1,491
◇
Types & classes
263
↳
Endpoints
2
↓ 2,299 callers
Method
get
Get a tool by name.
tools/tool_registry.py:141
↓ 270 callers
Method
get
(self, clip_id: str)
lib/corpus.py:221
↓ 106 callers
Method
raise_for_status
(self)
tests/contracts/test_comfyui_tools.py:219
↓ 84 callers
Method
run_command
Run a subprocess command with standard error handling. On Windows, resolves .cmd/.bat wrappers (e.g. npx, npm) via shutil.which() so
tools/base_tool.py:315
↓ 65 callers
Method
execute
(self, inputs)
tests/contracts/test_phase0_contracts.py:395
↓ 56 callers
Method
json
(self)
tests/contracts/test_comfyui_tools.py:213
↓ 47 callers
Function
_scene
( desc: str, scene_type: str = "visual", shot_size: str | None = None, movement: str = "static
tests/eval/bench_runner.py:54
↓ 32 callers
Function
check
(name, condition, detail="")
tests/qa/test_08_end_to_end.py:49
↓ 30 callers
Function
el
(tag, attrs, kids)
ink-theater/ink-theater.js:21
↓ 30 callers
Function
el
(tag, attrs, kids)
ink-theater/examples/mocap-figure/ink-theater.js:21
↓ 27 callers
Function
check
(name, condition, detail="")
tests/qa/test_07_playbook_intelligence.py:31
↓ 25 callers
Function
validate_artifact
Validate artifact data against its schema. Raises on failure.
schemas/artifacts/__init__.py:46
↓ 23 callers
Method
get_info
Return full tool contract info for registry/discovery.
tools/base_tool.py:233
↓ 21 callers
Function
load_pipeline
Load and validate a pipeline manifest by name. Args: name: Pipeline name (without .yaml extension). defs_dir: Override directory
lib/pipeline_loader.py:29
↓ 20 callers
Function
seededRandom
* Deterministic pseudo-random based on seed index. * Produces the same value every frame for the same seed — required for Remotion.
remotion-composer/src/components/ParticleOverlay.tsx:12
↓ 18 callers
Method
register
Register a tool instance.
tools/tool_registry.py:62
↓ 17 callers
Method
_f
(v: float)
tools/video/hyperframes_compose.py:1172
↓ 16 callers
Function
P
(pt)
ink-theater/ink-puppet.js:24
↓ 16 callers
Function
P
(pt)
ink-theater/examples/mocap-figure/ink-puppet.js:24
↓ 16 callers
Function
_fake_clip
Write a fixed-size dummy file and return the path.
tests/tools/test_clip_cache.py:32
↓ 15 callers
Method
ingest
Copy/link a freshly downloaded clip file into the cache. ``source_path`` is the file as it already sits in the caller's project direc
tools/video/clip_cache.py:367
↓ 15 callers
Function
write_checkpoint
Write a checkpoint file for a pipeline stage.
lib/checkpoint.py:194
↓ 14 callers
Function
abs
(p: Point)
remotion-composer/src/components/ScreenshotScene.tsx:230
↓ 14 callers
Function
maybeWrapWithBg
(element: React.ReactElement)
remotion-composer/src/Explainer.tsx:533
↓ 14 callers
Function
r2
(x)
ink-theater/ink-theater.js:77
↓ 14 callers
Function
r2
(x)
ink-theater/examples/mocap-figure/ink-theater.js:77
↓ 13 callers
Function
_cut
(source: str, cut_type: str = "", in_s: float = 0, out_s: float = 5)
tests/eval/bench_runner.py:88
↓ 12 callers
Function
_default_metadata
(clip_id: str = "test_001")
tests/tools/test_clip_cache.py:42
↓ 12 callers
Method
get_status
(self)
tests/contracts/test_comfyui_tools.py:562
↓ 11 callers
Function
_first
Return the first string value from a palette entry (list or scalar).
lib/hyperframes_style_bridge.py:41
↓ 11 callers
Method
load
Load existing corpus from disk. Silently starts empty if absent.
lib/corpus.py:130
↓ 10 callers
Method
discover
Import a package tree and register any concrete tools it defines.
tools/tool_registry.py:118
↓ 10 callers
Method
ensure_discovered
Load tool modules once before reporting capabilities.
tools/tool_registry.py:136
↓ 10 callers
Method
try_link
Hard-link (or copy) a cached clip into ``dest`` if present. Returns ``True`` on cache hit, ``False`` on miss. On hit, the entry's ``l
tools/video/clip_cache.py:318
↓ 9 callers
Function
_make_track
(path: Path, data: bytes = b"\x00\x01\x02\x03")
tests/tools/test_music_library.py:21
↓ 9 callers
Method
_read_manifest
Read the manifest file into a dict keyed by clip_id. Malformed lines are skipped silently — a single bad row must not poison the whol
tools/video/clip_cache.py:261
↓ 9 callers
Method
_runtime_check
Return availability state for the HyperFrames runtime. Checks BOTH local binaries (node >= 22, ffmpeg, npx) AND that the `hyperframes
tools/video/hyperframes_compose.py:304
↓ 9 callers
Function
get_profile
Get a media profile by name.
lib/media_profiles.py:142
↓ 9 callers
Method
to_dict
(self)
tools/video/clip_cache.py:148
↓ 9 callers
Function
validate_contrast
Calculate WCAG 2.1 contrast ratio between foreground and background. Uses sRGB relative luminance: L = 0.2126*R + 0.7152*G + 0.0722*B Args:
styles/playbook_loader.py:194
↓ 8 callers
Method
_filter_candidates
( self, inputs: dict[str, object], candidates: list[BaseTool], )
tools/video/video_selector.py:328
↓ 8 callers
Method
_ts_srt
Format seconds as SRT timestamp: HH:MM:SS,mmm
tools/subtitle/subtitle_gen.py:312
↓ 8 callers
Method
_ts_vtt
Format seconds as VTT timestamp: HH:MM:SS.mmm
tools/subtitle/subtitle_gen.py:321
↓ 8 callers
Function
all_sources
Instantiate every registered adapter, whether available or not. Returned instances are cheap — adapters keep no state beyond env var reads, s
tools/video/stock_sources/__init__.py:73
↓ 8 callers
Method
generate
Submit → poll → download. Returns list of artifact paths.
tools/_comfyui/client.py:224
↓ 8 callers
Method
get_by_capability
Get all tools registered for a top-level capability family.
tools/tool_registry.py:153
↓ 8 callers
Method
get_status
Check if this tool's dependencies are satisfied.
tools/base_tool.py:201
↓ 8 callers
Method
is_available
(self)
tools/video/stock_sources/esa.py:49
↓ 8 callers
Method
load
(cls, path: Path)
tests/eval/replay_harness/harness.py:34
↓ 8 callers
Function
load_playbook
Load and validate a style playbook by name. Args: name: Playbook name (without .yaml extension). styles_dir: Override directory f
styles/playbook_loader.py:33
↓ 8 callers
Method
save
(self, path: Path)
tests/eval/replay_harness/harness.py:47
↓ 7 callers
Function
_meta_value
(meta: dict[str, Any], key: str)
tools/video/stock_sources/wikimedia.py:277
↓ 7 callers
Method
_run_final_review
Run post-render self-review and produce a final_review artifact. This is the governance contract: the compose runtime MUST inspect th
tools/video/video_compose.py:1963
↓ 7 callers
Function
_to_text
Flatten Archive.org's sometimes-list-sometimes-string fields. The search API returns `creator`, `subject`, and `description` as either a stri
tools/video/stock_sources/archive_org.py:524
↓ 7 callers
Method
add
Append a new clip to the corpus. Idempotent by clip_id.
lib/corpus.py:190
↓ 7 callers
Method
estimate_cost
Estimate cost in USD for the given inputs. Override for paid tools.
tools/base_tool.py:280
↓ 7 callers
Function
get_stage_order
Extract the ordered list of stage names from a manifest. ``include_sub_stages=True`` exposes declarative sample/preview units to the agent wi
lib/pipeline_loader.py:105
↓ 7 callers
Function
get_torch_device
Return best available torch device: cuda > mps (Apple Silicon Metal) > cpu. Priority order: 1. cuda — NVIDIA GPU (fastest for most diffusi
tools/video/_shared.py:150
↓ 7 callers
Method
is_available
Return True if the ComfyUI server is reachable.
tools/_comfyui/client.py:49
↓ 7 callers
Method
load_workflow
Load a workflow JSON template from disk.
tools/_comfyui/client.py:269
↓ 7 callers
Function
probe_output
(path: Path)
tools/video/_shared.py:659
↓ 7 callers
Function
sample_artifact
Return a minimal schema-valid artifact for tests.
tests/contracts/test_phase0_contracts.py:46
↓ 7 callers
Method
search
(self, query: str, filters: SearchFilters)
tools/video/stock_sources/esa.py:56
↓ 6 callers
Function
_build_search_queries
Return a cascade of search queries to try in preference order. Commons' CirrusSearch defaults to AND semantics for multi-word queries, so a 4
tools/video/stock_sources/wikimedia.py:134
↓ 6 callers
Method
_compare_transcript_to_script
Compare a word-level transcript against the source script. Purpose: catch TTS failures that look fine on audio-volume/duration checks
tools/video/video_compose.py:1856
↓ 6 callers
Method
_escape_attr
(s: str)
tools/video/hyperframes_compose.py:1184
↓ 6 callers
Method
_providers
Auto-discover video generation providers from the registry.
tools/video/video_selector.py:135
↓ 6 callers
Method
_remotion_render
Render via Remotion (requires Node.js + npx). Handles compositions with still images, animated scenes, component types, and transitio
tools/video/video_compose.py:1661
↓ 6 callers
Function
check_color_blind_safety
Check a list of colors for color-blind confusion pairs. Simulates deuteranopia, protanopia, and tritanopia confusion. Flags color pairs that
styles/playbook_loader.py:227
↓ 6 callers
Function
clamp
(v: number)
remotion-composer/src/Explainer.tsx:80
↓ 6 callers
Method
execute
(self, inputs: dict[str, Any])
tools/capture/screen_capture_selector.py:145
↓ 6 callers
Method
explain
Human-readable explanation of this score.
lib/scoring.py:52
↓ 6 callers
Method
from_dict
(cls, d: dict[str, Any])
tools/video/clip_cache.py:152
↓ 6 callers
Function
hexToRgb
(hex: string)
remotion-composer/src/Explainer.tsx:63
↓ 6 callers
Function
rank_providers
Rank a list of tools by weighted score for a given task context. Returns scores sorted best-first.
lib/scoring.py:533
↓ 6 callers
Function
resolveAsset
(src: string)
remotion-composer/src/Explainer.tsx:16
↓ 6 callers
Function
write
(path: Path, content: str)
scripts/scaffold_atelier_project.py:41
↓ 5 callers
Method
_escape_text
(s: str)
tools/video/hyperframes_compose.py:1176
↓ 5 callers
Function
_make_video
(path: Path)
tests/tools/test_export_bundle.py:22
↓ 5 callers
Method
_probe_clip
Probe a single clip with ffprobe and return metadata dict.
tools/video/video_stitch.py:256
↓ 5 callers
Method
_providers
Auto-discover TTS providers from the registry.
tools/audio/tts_selector.py:124
↓ 5 callers
Method
_providers
Auto-discover screen_capture providers from the registry.
tools/capture/screen_capture_selector.py:128
↓ 5 callers
Method
_providers
Auto-discover image generation providers from the registry.
tools/graphics/image_selector.py:133
↓ 5 callers
Method
_rel_from_workspace
HyperFrames resolves src= relative to index.html. Our asset files live under workspace/assets/, so when we stage a copy we know the re
tools/video/hyperframes_compose.py:1188
↓ 5 callers
Method
_require_workspace
(inputs: dict[str, Any])
tools/video/hyperframes_compose.py:756
↓ 5 callers
Method
_run_hf
Invoke `npx hyperframes <args>` with the right Windows quirks. We intentionally bypass `self.run_command` here because we do NOT want
tools/video/hyperframes_compose.py:1117
↓ 5 callers
Function
_safe_int
Parse a value to int, tolerating strings, None, and garbage.
tools/video/stock_sources/archive_org.py:511
↓ 5 callers
Function
_tokenize_text
(value: str)
lib/scoring.py:193
↓ 5 callers
Function
_write_json
(path: str | None, data: dict[str, Any])
tools/character/character_animation.py:30
↓ 5 callers
Method
check_models
Check which of *required* model filenames are available. Returns ``(found, missing)`` — two lists of filenames.
tools/_comfyui/client.py:117
↓ 5 callers
Method
execute
(self, inputs: dict[str, Any])
tools/subtitle/subtitle_gen.py:82
↓ 5 callers
Method
execute
(self, inputs: dict[str, Any])
tools/video/video_compose.py:323
↓ 5 callers
Method
get_info
(self)
tools/video/comfyui_video.py:233
↓ 5 callers
Function
get_required_tools
Collect tools across stages, sub-stages, and reference-input analysis.
lib/pipeline_loader.py:132
↓ 5 callers
Function
limb
()
ink-theater/ink-puppet.js:40
↓ 5 callers
Function
limb
()
ink-theater/examples/mocap-figure/ink-puppet.js:40
↓ 5 callers
Method
patch_workflow
Deep-copy *workflow* and apply *patches*. *patches* maps ``node_id`` → ``{input_name: value, ...}``.
tools/_comfyui/client.py:275
↓ 5 callers
Method
search
(self, query: str, filters)
tests/tools/test_documentary_governance.py:19
↓ 5 callers
Function
source_summary
Summarize source availability for preflight and tool contracts.
tools/video/stock_sources/__init__.py:116
↓ 5 callers
Function
toSvgX
(x: number)
remotion-composer/src/components/charts/LineChart.tsx:73
next →
1–100 of 1,491, ranked by callers