Start with http://omz-software.com/pythonista/docs/ios/urlscheme.html and then in that script try to download (requests.get()) and https://pypi.org/project/pyrun the remote script.