🧐 What is pythonista 3 and How does it work?
Pythonista is a complete scripting environment for Python 3.10, running right on your iPad or iPhone, so you can develop and run Python scripts on the go.
Like Python itself, "batteries are included" – from popular third-party modules like requests, numpy, matplotlib, pandas (and many more) to modules that are tailor-made for iOS. With Pythonista, your scripts can access sensor/location data, your photo library, contacts, reminders, the clipboard, and more, allowing you to harness the full potential of both Python and iOS.
Pythonista is designed with a user-friendly interface that makes it easy for anyone to get started with coding, regardless of skill level. The complete Python documentation is also available for offline reading in the app.
Pythonista is not just for learning and practicing Python – it's also a powerful tool for automating iOS with multiple app extensions. You can invoke scripts directly from the share sheet or a custom system keyboard in almost any app, and integrate scripts with Shortcuts and Siri. With Pythonista, it's easy to run your scripts whenever you need them, without having to switch between different apps.
> Powerful code editor with syntax highlighting, code completion, and scripting support
> Interactive prompt with code completion, command history, and support for showing images
> Integrated visual debugger and object inspector
> Complete offline documentation with quick lookup directly from the editor
> Various beautiful light and dark color themes, and a theme editor to make your own
> UI editor for quick prototyping
> Integrated PEP 8 style checker and code formatter
> Supports most of the Python standard library and additional modules for graphics, sound, and iOS integration (for example clipboard, contacts, reminders, photos, ui...)
> Many popular third-party modules included, for example requests, numpy, matplotlib, pandas, Pillow...
> Lots of included examples
> Universal app for iPad and iPhone
> Share sheet extension for running scripts from almost any app
> Scriptable system-wide keyboard to use Python in any app that edits text
> Advanced integration with the Shortcuts app, allowing you to use Python scripts as actions in shortcuts and personal automations.
Please note that Pythonista is not designed to enable the installation or download of additional modules written in compiled languages (C/C++). While many popular native libraries are included and work out-of-the-box, it is generally not possible to install additional modules with C/C++ dependencies.
The name "Pythonista" is used with kind permission from the Python Software Foundation.