Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does Pythonista Work within App Store Restrictions?

I recently found out about an iOS IDE known as Pythonista, which claims to be a full Python 3.6 IDE and interpreter for the iOS platform, including several important libraries and bindings for native iOS APIs. My question is: how does it work? My understanding of the iOS security model is that all code must be signed and all (non-Apple) apps that dynamically generate or execute code are automatically banned from the App Store. This is the rule that prevents people from writing compilers, interpreters, shell terminals, emulators, virtual machines, etc. for iOS and offering them on the App Store. How does Pythonista get away with having a Python interpreter without running afoul of Apple? Is it running the code remotely on a server?

like image 929
SquawkBirdies Avatar asked Jun 29 '18 18:06

SquawkBirdies


People also ask

What is Pythonista?

Pythonista is a complete scripting environment for Python, running directly on your iPad or iPhone. It includes support for both Python 3.6 and 2.7, so you can use all the language improvements in Python 3, while still having 2.7 available for backwards compatibility.

Can I make iPhone apps with Python?

While Android and iOS will not run interpreted code, you can use a Python mobile app framework like Kivy or BeeWare to write your mobile application in Python and then cross-compile it for Android or iOS. Learn more about Python's built-in elements.

Is there Python for iPad?

Python for iOS and iPadOS Pythonista is a complete development environment for writing Python scripts including third-party libraries and system integration on your iPad or iPhone.


1 Answers

This article is about a year old now, but still relevant. Pythonista and Codea (for Lua dev on the iPad) are both very successful apps and I can attest to their high quality. Get them and see. The code runs natively on your iPad - not on their servers. There are active development communities for both of these apps. See the forums on the developer websites: Pythonista and Codea.

like image 176
brianolive Avatar answered Sep 27 '22 19:09

brianolive