Today I learned that the iOS Shortcuts app can make SSH connection and run remote scripts as part of a workflow, which opens up for a lot of crazy thing. On a related note, the Pythonista share extension is very cool as well.