I would be nice to have something like python available.
Or at least better Pythonista integration through URL schemes.
One could have a URL that sends a selection or whole document, via the clipboard to Pythonista, and then have the result sent back and inserted.
To make this possible you would initially only have to extend Textastic's x-callback-url capabilities.
Customer support service by UserEcho