You can run seemingly unrestricted python code on your iOS devices with Pythonista [0]. I'm using it right now to proxy my hotspot connection through my iPhone.
Not sure how they're allowed to exist on the app store, but it's been solid for me for a while now.
Pythonista has been featured by Apple several times. As others have pointed out, only pure-Python modules can be used unless they are precompiled and included with the app.
ericlewis
it is categorized as a learning application, but I am quite curious how you made a proxy with it.
zakki
I guess he made an app that open a port to let user to connect to it and proxy-ing the request
Not sure how they're allowed to exist on the app store, but it's been solid for me for a while now.
[0] https://apps.apple.com/us/app/pythonista-3/id1085978097