Random python tools I made a long time ago.