Skip to content


Folders and files

Last commit message
Last commit date

Latest commit



24 Commits

Repository files navigation

Python for iOS

by Linus Yang


  • Only for jailbroken devices, better than sandboxed version in App Store
  • Updated to latest Python 2.7.x branch
  • Fully functional, dynamically linking iOS port
  • Built-in modules mostly working (See building module status below)
  • IPv6 support
  • Packages with several basic site packages:
    • setuptools (easy_install)
    • gevent
    • PyCrypto
    • pyOpenSSL
    • M2Crypto
  • Works with on-device toolchains to build native Python libraries:
    • iPhone GCC toolchain from Cydia/Telesphoreo (recommended, directly working)
    • Clang toolchain by @coolstarorg at thebigboss repo (need to create a symlink by ln -s clang /usr/bin/arm-apple-darwin9-gcc)

Get latest built Debian Packages at Release Site.

##Build Guide: You may need Mac OS X and iOS 5.1 SDK for building armv6 binaries.

Change permission to be executable and run the script in terminal:

chmod +x   

##Building Module Status:

Python build finished, but the necessary bits to build these modules were not found:
_tkinter           bsddb185           dl              
gdbm               imageop            linuxaudiodev   
nis                ossaudiodev        spwd            
To find the necessary bits, look in in detect_modules() for the module's name.


##License This project is licensed under GPLv3.