Standalone Python for iOS
https://k1tty-xz.github.io/python-ios/ ↗// readme
Python for iOS
CPython 3.14 for ARM64 jailbroken iOS devices. Includes Python.framework, the standard library, and pip.
Install
Download and install the package that matches your jailbreak:
| Environment | Package | Installs to |
|---|---|---|
| Rootful | _iphoneos-arm.deb | /usr/local |
| Rootless (iOS 15+) | _iphoneos-arm64.deb | /var/jb/usr/local |
Run Python with its full path:
# Rootful
/usr/local/bin/python3
# Rootless
/var/jb/usr/local/bin/python3
Check pip with the path for your jailbreak:
# Rootful
/usr/local/bin/python3 -m pip --version
# Rootless
/var/jb/usr/local/bin/python3 -m pip --version
Warning: Add the corresponding
bindirectory toPATHonly if you want this installation’spython3command to be the default on your device.
Build
Requires macOS, Xcode with the iOS SDK, Python 3, Homebrew, and dpkg.
brew install dpkg
./scripts/build.sh # Build both packages
./scripts/build.sh rootful # Build rootful only
./scripts/build.sh rootless # Build rootless only
Packages are written to dist/.
License
Maintained by k1tty-xz. Build scripts are [MIT…