I have some AI code developed in python 2.7 that uses non-standard libraries.
I intend to compile it to work with my iPhone app.
I wouldn't like to re-program everything so, is that a way to compile my python code + all dependencies into a static file so I can call it from my iOS app as a function?
Python for iOS and iPadOSPyto also provides a complete development environment for running Python 3 including many third-party libraries and system integration on an iPad or iPhone.
You can write scripts that access sensor and location data, your photo library, contacts, reminders, the clipboard, and much more. You can also use Pythonista to build interactive multi-touch experiences, custom user interfaces, animations, and 2D games.
kivy can do it
http://kivy.org/docs/guide/packaging-ios.html
also maybe look at https://itunes.apple.com/us/app/python-for-ios/id485729872?ls=1&mt=8
although I doubt you can just compile your existing project into it... you will need to re-write at least part of it and you can only use pure python libraries (kivy)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With