farient-deckcheck / fixtures /create_warmup.py
Xander Labide
Claude Opus 4.7 (1M context)
Initial commit — Farient DeckCheck
fdfe81a
Raw History Blame Contribute Delete
637 Bytes
"""
Utility script to programmatically create warmup.pptx (1-slide fixture).
Run once: uv run python fixtures/create_warmup.py
"""
from pathlib import Path
from pptx import Presentation
from pptx.util import Inches, Pt
def create_warmup_pptx(dest: Path) -> None:
prs = Presentation()
slide_layout = prs.slide_layouts[0] # title slide
slide = prs.slides.add_slide(slide_layout)
title = slide.shapes.title
if title is not None:
title.text = "Warmup"
prs.save(str(dest))
if __name__ == "__main__":
out = Path(__file__).parent / "warmup.pptx"
create_warmup_pptx(out)
print(f"Created {out}")