#mastodonadmins, I made my first (barely there, but hey) release of Python tools for working directly with a Mastodon instance's database. It's at https://github.com/freeradical-dot-zone/mastools . The initial goal is to set up the framework I can use for building more advanced stuff later.
It does have a nice "show-user-changes" command that shows you which users have recently added or removed URLs from their bios, which is handy for looking for tech support spammers. I run it from an hourly cron job.