← Derle

Write and run Python on your phone.

Derle gives you a real code editor and a Linux terminal on the device. Install Python, add packages with pip and run your script with python3, the same way you would on a computer.

Free to try. Derle Pro is optional.

A Python file open in the Derle code editor, with syntax highlighting and line numbers
The Derle terminal running python3 main.py and printing a bar chart of moons per planet

A real Linux userland, not a sandboxed interpreter

python3 and pip, unmodified

The terminal is a Linux userland with a package manager. On Android it runs under PRoot; on iOS the app carries an ARM64 emulator running Alpine Linux.

A code editor you already know

Tabs, syntax highlighting, project-wide completion, find-in-file and a minimap.

An assistant that edits and runs

Ask for a change and the assistant edits the files, runs the script to check its work and shows you what it touched.

Git and SSH built in

Commit, branch and push, clone over HTTPS or SSH, and open a session on your own server.

From an empty project to a running script

  1. Open Engineering Mode

    Create a Python project. Python is installed the first time you need it.

  2. Write the code

    Use the editor, or describe what you want and let the assistant write it.

  3. Run it

    Press Run or type python3 main.py in the terminal. Long jobs keep going when you switch away.

Questions

Can I run Python on my phone without a cloud server?
Yes. Derle runs Python in a Linux userland on the device itself, so scripts run on the phone and not on a remote machine. Installing Python or a package the first time needs an internet connection.
Does pip install work?
Yes. It is a real userland with a package manager, where pip install does what it does on a server.
Is there a real Linux terminal on iPhone too?
Yes. On iOS the app carries its own ARM64 emulator running an Alpine Linux root filesystem, so unmodified Linux programs such as the shell, Python and Node run on the device. The iOS version is still in development and not on the App Store yet.