← /with/

Use Python with Scratch

Have an AI write a Python script that transforms your Scratch folder. Run it. Review every diff in Scratch. Refine the script. Run it again. Try it now free → or book a demo with Curtis

The Python + Scratch flow

  1. Pull your records into Scratch. The folder is one JSON file per record, with prose fields and structured fields sitting alongside each other.
  2. Ask your AI of choice (Claude, Codex, Cursor) to write a Python script that walks the folder and applies the change you want. A regex sweep across product titles. A tag normalizer. A length-capper on meta descriptions. A bulk SEO field rewrite.
  3. Run the script against your Scratch project folder.
  4. Open Scratch. Every file the script touched shows up as a diff, per record.
  5. If the script overreached, refine the prompt, regenerate, re-run. The originals are still there.
  6. Approve the diffs you want. Publish.

Why Python pairs well with Scratch

A Scratch folder is a clean, normalized substrate that Python is unreasonably good at chewing through. pathlib, json.load, a regex, json.dump, done. The AI writes the script in seconds; Python runs it deterministically across ten thousand records; Scratch gives you a per-record review surface so you can catch whatever the script got wrong before it ships.

This is the right pattern when:

It's also how Scratch's optional validators work under the hood: AI-authored Python rules that fail formatting regressions before a diff ever reaches your eyes.

What stays safe

The script runs on your machine, against local files. Nothing leaves your laptop until you click publish in Scratch, per record. The original version of every record sits next to the modified one until you decide.

If the script breaks something, you reject the diffs. If it nails every record, you approve in bulk. Either way, you saw it first.

Use Python to edit your connected apps

Scratch connects Python to the platforms your content lives in. Pull a folder, let Python edit the files, review every diff, and publish only what you approve.

See it run on your own content.

Curtis runs these calls himself. Thirty minutes, no pitch, no slides. He connects your platforms live and shows you your content as an editable, reviewable diff. Bring anything sticky: a refresh, a migration, or a rebrand.

Book a 30-minute demo call → or try it free

cookies

strictly necessary
required for the site to work. always on.

analytics
google analytics & posthog — anonymous usage, so we can improve the site.