Makers Gonna Make: Finding Tube Stations

"Mike Moran showed us how he uses Python to take all the routes near King's Crossing in London and filter them down to subway stations only. Magic, if you ask me."

Indeed. However, it was also magic to me, when I looked at what I'd done a few weeks later and tried to understand it. 🤔 So ...

I took this as an opportunity to start a tidier and more repeatable habit. I used Jupyter for MGM and also quite a bit recently for a course. Whilst it's great for doing things quickly it can be quite flaky, and leads to some of the issues of repeatability. I heard about Marimo and wanted to give it a try.

You can see the notebook for the outcome.

Overall my first impressions are good! It forces you to do things like define variables once, and will automatically run dependent cells. Extra super-nice things are built-in integrations with uv and a very clean format for seeing diffs; the save format is essentially 'just python'. Definitely something I'll be using from now on if I can.