_images/Icon.png

Welcome to Pyto’s documentation!

Pyto is an open source app to code and run Python code locally on an iPad or iPhone. The app uses the Python C API to run Python code in the same process of the app, due to iOS restrictions. Third party pure Python modules can be installed from PyPi and some libraries with C extensions are bundled in the app. For a list of included libraries, see Third Party.

Frequently asked

How to use external files in a script?

See Accessing external files.

Why can’t I install xxx package?

Some libraries contain native code (C extensions). They cannot be installed because iOS / iPadOS apps must be self contained. That’s why libraries like Numpy, Pandas, Matplotlib or OpenCV are included in the app and cannot be updated.

How to run a web server?

Use the background module to run a script in background. See Using Django for an example.