Can I develop Kivy application for iOS on Windows? - python

I am trying to build an iOS application using Kivy, is it possible to pack this application using Windows machine?

I'm afraid not. It might be possible using a macOS virtual machine under Windows, but of course Apple make this difficult and probably forbid it.
If there are web services providing app build infrastructure then it may be possible to use them.

you have to make a linux VM on your Windows system and use BUILDOZER to make a full working iOS package with your kivy code.
Docs here: https://buildozer.readthedocs.io/en/latest/

Related

Can I deploy TKinter apps to MacOS?

I want to develop a Windows/macOS app on my Windows machine, I aim to upload the executable file and upload it on the internet so that people with macOS can run it just like on windows.
Is that possible?
I tried searching on this topic on the internet and didn't get satisfying results.
I know that iOS prohibits installation of apps from unknown sources unless you use your phone for development or jailbreak the phone. So the question was actually if the same is applied to macOS. I know I can build apps and make executable files, one for each platform. I searched the web for a long time until I found the answer, that yes, I can just make a script and run it on macOS without any complications.

can I build a production level windows application in Python

I'm trying to build a Windows Application in Python.
But, sometimes I question myself, can this Application run on another person's PC without installing Python?
Will it have any flows because of python?
I heard most people use C++ for Windows Applications?
Will I be able to provide Updates for my Application to every user by Python code?
Yes You can Definitely Create a Production Level App Using Python
And the App can be run-able on any other person's Computer Without Installing python
Also, many Big companies use python to build desktop Apps
You can start making desktop apps using these python Frameworks -
Tkinter
Kivy
PysimpleGUI
PyQt
By generating an executable of your application it will run on someone else's PC without installing Python.
PyInstaller performs this task of generating the executable.
The flow is to generate the app executable by packaging python inside the app.
You will be able to update the application indirectly by updating accessory files. In case the python code has changed, you will have to generate a new executable.

How to upload a python file with Kivy to iPhone for free?

I am creating a simple Kivy app in python, but I can't figure out how to upload the .py as app to my iPhone for free.
Can someone help me with this?
according to kivy documentation:
In order to submit any application to the iTunes store, you will need an iOS Developer License. For testing, you can use a physical device or the XCode iOS emulator.
I suggest using a cheap android phone to test out your application. You will need to package your application for Android. In order to do this, you will need to use Linux.

Is it possible to run a Python interpreter within a Flutter app?

I'm new to Flutter and trying it for the first time (I'm not an experienced mobile developer either) and was wondering how to go about running a Python interpreter within my app.
What I'd actually like to create is an app with Python katas or challenges so that when the user solves a challenge it will tell them if it passed some tests (I assume I'd write those as unit tests).
Not sure where to start with all of that, though... I'm not even sure Flutter is the best choice, but since it sounds so promising and I can compile my app for both Android and iOS, I decided to give it a go. So any guidance on how to start building this app would be very welcome.
TL;DR: Yes, it is possible.
As there are a number of Python related apps on the Play Store, to include a full port of Python 3, I believe it is definitely possible to run Python on an Android app. The difficulty is in making it happen.
Actually creating that integration is something I am also researching. Resources I have run across so far:
Flutter packages - This is the route I am currently attempting,
so I cannot help much yet past this list
VSCode - Integration here has a learning curve (just like Android Studio) but development seems a little smoother than AS
QPython - runs Python on Android devices; no personal experience on this yet
BeeWare - again, no personal experience with this
Kivy - not an easy integration
from my experience; graphics creation is much more involved than native Android development
Chaquopy - per the developer, this is still maintained. Supports Java and Python on Android. It does have a supported chaquopy plugin, which is easier to use while integrating with flutter app.
#Floella, I have created chaquopy plugin, by using this plugin, you can use chaquopy sdk in your flutter android app. This is the video I have made that demonstrate the chaquopy plugin in action.

Is it possible to use Python to write cross-platform apps for both iOS and Android?

Is it possible to use Python to write cross-platform apps for both iOS and Android
An option is kivy: a cool cross platform Python framework which works for Android, Win7, Linux, MacOSX and iOS.
Update: kivy project is growing daily, now supports also Raspberry Pi
For Android Google provides something called ASE (Android Scripting Environment) which allows scripting languages (Python included) to run on Android. More details here
For iOS, it might be quite a bit more complicated (and I'd advise to check the latest version of iOS SDK agreement to check the current state of the law - apple tends to allow & disallow such apps periodically). For the technical part you might need to interface between Python & Objective C as well as do some wizardry to statically link all the libraries Python requires; full details are available here.
Another approach for iOS Python development would be to embed a Python interpreter into you app and distribute your Python script with it (so to play nicely with Apple rules). In this case your Python application would be a Python interpreter which is packaged with your script and runs it automatically.
Second option is to use Kivy framework(kivy.org) - it's a framework to write touch-friendly applications in Python and package them for different platforms. It's had Android support for a while, and recently added iOS support
For writing a GUI applicaion you can use the Toga library,then package it with briefcase into a Android and/or iOS app (or Windows, Linux, macOS etc).
Note: the project is still in alpha state but under rapid development.
You can try and combine brython and cordova. The Brython wiki describes how to write an Android app using Brython, which might provide the necessary information to do this also using Cordova. I haven't tested this yet, but it sounds promising. You should however be aware that due to its nature, Brython cannot support x86-compiled packages such as OpenCV (see e.g. here). On the other hand, if you know a bit about JavaScript / HTML5, you can use the WebView native functions, e.g. http://www.brython.info/gallery/three.html.
As #piertoni mentioned, BeeWare enables native iOS & Android apps to be written in Python.

Categories

Resources