Basilisk app icon

Python that reaches
your iPhone

A real interpreter, offline, that can open a dialog, write your clipboard, post a notification and speak. Then run itself from a Shortcut while you are doing something else.

import ios name = ios.prompt("Who is this for?") ios.notify("Done", f"Sent to {name}")
Download Basilisk on the App Store Python 3.13. Works offline. 50 MB, not a gigabyte.

Most Python apps for iPhone are a sandbox with the door locked.

They give you an editor and an interpreter, and then the script ends where the app ends. It cannot ask you a question, it cannot leave a note on your clipboard, and it certainly cannot run at seven in the morning without you.

Basilisk ships an ios module that hands your script the parts of the phone that matter, and an App Intent so any script can be wired to a Shortcut, to Siri or to the Action button. You write it once. After that the phone runs it.

ios.prompt() ios.clipboard ios.notify() ios.share() ios.speak() ios.location()

What it looks like

Swipe to see the app.

A Python script calling ios.prompt, with a real iOS dialog asking for a name
A script asking you a question through a real iOS dialog, then waiting for the answer.
The editor with output streaming into the console below it
Output streams into the console as it happens, with the code still on screen above it.
The Automation sheet showing a script wired to a Shortcut
Wire a script to Shortcuts once, and check from here that it actually fired.
A clean traceback where the file and line are tappable
Tracebacks show only your own frames. Tap one and the editor jumps to that line.
The Packages screen listing bundled packages with a Verify button
Every bundled package with its version, and a button that imports each one live.
An interactive Python prompt keeping names between lines
A real prompt where names stick around between lines, so you can poke at an idea.

What you get

It runs without you

Bind any script to a Shortcut, to Siri or to the Action button. It runs in the background and hands its output back to Shortcuts, so it can feed whatever comes next.

Your script can reach the phone

Dialogs that wait for an answer, the clipboard, notifications now or later, the share sheet, speech, and a one shot location fix. All from ordinary Python.

Tracebacks you can tap

Frames from the interpreter's own plumbing are stripped out, so what you see is your code. Tap the failing line and the editor takes you there.

Python 3.13, not 3.10

Current, and staying current. Match statements, the new error messages, and every standard library module that makes sense on a phone.

An editor that gets out of the way

Syntax highlighting, line numbers, and a key row with the symbols Python needs. Auto indent, brackets and quotes are separate switches, plus one that turns all of it off.

Your scripts are just files

Ordinary .py files in the Files app. Move them, back them up, sync them through iCloud Drive, or edit them on a laptop. Nothing is trapped in a database.

Eleven packages, listed honestly

All bundled, all working offline, no install step and no network required.

requestsPillowBeautifulSoup Markdownpython-dateutilurllib3 certifiidnacharset-normalizer soupsievesix

The Packages screen has a Verify button that imports every one of them in the same interpreter your scripts use, so you can check the claim instead of believing it.

It is equally clear about what is not there. numpy, pandas, scipy, matplotlib and scikit-learn publish no iOS wheels, so each would have to be cross compiled by hand and rebuilt for every update. That treadmill is the most likely reason the two iPhone Python apps that did ship a full scientific stack are both still frozen on Python 3.10. Basilisk would rather stay current and be honest about its scope.

Running code is free. Always.

Every standard library script runs without paying anything. No countdown, no locked Run button, no advert covering the screen. That is a promise about the app, not a welcome offer.

One purchase unlocks the ios module and the bundled packages. It is a one time purchase, so nothing renews and there is nothing to cancel.

$14.99 once. No subscription.

Write something small tonight.

Let your phone run it tomorrow morning.

Download Basilisk on the App Store