(I think this is largely not needed for Hitchwiki admins, it is faster to just vibe in the hitchwiki.org repo on the server directly ~ @tillwenke)
This is pywikibot code for hitchwiki.
coords_missing/ is a clean example how to manipulate articles in bulk. Copy code from there into a new directory and adjust to your needs.
We're using Astral uv for handling packages and running scripts.
curl -LsSf https://astral.sh/uv/install.sh | shSee https://docs.astral.sh/uv/getting-started/installation/ for other installation methods.
uv syncuv run script_name.pySome scripts use inline dependencies (PEP 723) and uv run will automatically install them.