Standalone CPython for 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 or pip with its full path:
# Rootful
/usr/local/bin/python3
/usr/local/bin/pip
# Rootless
/var/jb/usr/local/bin/python3
/var/jb/usr/local/bin/pip
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’spython3andpipcommands to be the defaults 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…