Can you recommend any cross platform Python app development frameworks where you write code once and it can be deployed to Linux, Android, Windows, MacOS and iOS.

    • matlOP
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

      Exactly @AgreeableLandscape@lemmy.ml , I am thinking of developing and shipping an GUI based app, which is ready to use without installing Python seperately. I am not sure if GTK and Qt for Python can be easily packaged and deployed on Android devices?

      I found BeeWare which claims to write code once and deeploy it everywhere, such as on iOS, Android, Windows, MacOS, Linux, Web, and tvOS. I tested it once, but I had trouble with OS independet packages, which were not available for both OS, such as Android and Linux.

      Furthermore I found KIVY, which claims to run on Linux, Windows, OS X, Android, iOS, and Raspberry Pi as well, but I didn’t manage to gete an Android apk up and running yet.

      Your hint @masu@lemmy.ml is valuable, I think I need to make some code more OS independent. That should be the problem while playing with BeeWare, that some Python packages are not available on all plattforms.

        • AgreeableLandscape
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          edit-2
          3 years ago

          Any package that need access to hardware or the kernel would need to directly use operating system APIs. For example, a package that accesses LM_SENSORS on Linux wouldn’t work on Windows because the API would be completely different.