this is a german Web-Mirror of PYTHON.ORG powered by Domainunion AG

Differences between revisions 13 and 40 (spanning 27 versions)
Revision 13 as of 2014-04-14 22:50:04
Size: 1006
Comment: add qpython
Revision 40 as of 2024-02-07 13:18:35
Size: 3215
Editor: MalcolmSmith
Comment: Chaquopy and BeeWare now support Python 3.12
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
There are several ways to write Android apps in Python. There are several ways to use Python on Android. The following table summarizes those projects which are currently active:
Line 3: Line 3:
 * Kivy: [[https://www.youtube.com/watch?v=yPWj6k5MRak|Intro to Kivy]], [[https://kivy.org/docs/guide/android.html|Guide for Android]]
 * SL4A: [[https://code.google.com/p/android-scripting/wiki/FAQ#How_do_I_install_SL4A?|Install]], [[https://www.youtube.com/playlist?list=PL07A81E6CE96F158B|Watch]]
 * PySide: [[https://thp.io/2011/pyside-android/|Original]], [[https://modrana.org/trac/wiki/PySideForAndroid|Followup]], [[https://qt-project.org/wiki/PySide_for_Android_guide|Editable Guide]]
 * [[https://qpython.com/|QPython]] is a script engine running on Android devices like phone or tablet, It embeds the python interpreter, console, editor, SL4A library for android, which can make your android device run python script or project.
||<style="text-align: center;"|2> '''Project''' ||<style="text-align: center;"-2> '''General''' ||<style="text-align: center;"-4> '''APIs''' ||<style="text-align: center;"-3> '''Build''' ||
|| '''Python versions''' || '''Google&nbsp;Play links''' || '''User interface''' || '''Android APIs''' || '''Call&nbsp;Python from Java''' || '''Native Python packages''' || '''Standalone APK''' || '''iOS''' || '''Desktop OSs''' ||
|| '''[[https://beeware.org|BeeWare]]''' is a toolkit for developing cross-platform apps with native user interfaces. Its Android support is based on Chaquopy. ||<style="text-align: left"|2> 3.8 - 3.12 || None ||<style="text-align: left"|2> Native Android ||<style="text-align: left"|2> All ||<style="text-align: left"|2> [[https://chaquo.com/chaquopy/doc/current/java.html|Yes]] ||<style="text-align: left"|2> [[https://chaquo.com/pypi-13.1/|List]] ||Yes || Yes || Yes ||
|| '''[[https://chaquo.com/chaquopy/|Chaquopy]]''' is a plugin for Android Studio's Gradle-based build system. || [[https://play.google.com/store/apps/details?id=com.chaquo.python.demo3|Demo]] || Yes || No || No ||
|| '''[[https://kivy.org/docs/guide/android.html|Kivy]]''' is a cross-platform OpenGL-based user interface toolkit. || 2.7, 3.5, 3.6 || [[https://play.google.com/store/apps/details?id=org.kivy.showcase|Demo]] || Kivy || All via PyJNIus or Plyer || Via interface || [[https://github.com/kivy/python-for-android/tree/develop/pythonforandroid/recipes|List]] || Yes || Yes || Yes ||
|| '''[[https://www.riverbankcomputing.com/software/pyqtdeploy/intro|pyqtdeploy]]''' is a tool for deploying PyQt applications. || 3.6 || None || Qt || Some via Qt || No || Some || Yes || Yes || Yes ||
|| '''[[https://www.qpython.com/|QPython]]''' is an on-device script engine and development environment. || 2.7, 3.2, 3.6 || [[https://play.google.com/store/apps/details?id=org.qpython.qpy|QPython]] || Kivy, SL4A || All via PyJNIus or SL4A || No || [[https://qpypi.qpython.org/search/|List]] || No || No || No ||
|| '''[[https://termux.com/|Termux]]''' is a Linux distribution for Android that ships Python as well as a local build environment || 2.7, 3.6 || [[https://play.google.com/store/apps/details?id=com.termux|Termux]] <<BR>> [[https://play.google.com/store/apps/details?id=com.termux.api|Termux:API]] || Terminal || Some via Termux:API || No || Any where dependencies are packaged || No || No || No ||
Line 8: Line 12:
Comments:
 * Please add notes and references about your experience here. Use [[HelpOnVariables|@SIG_@]] markup to sign comments (remove _ to use). -- [[techtonik]] <<DateTime(2013-09-06T10:47:31+0200)>>
In addition, there are a number of projects which are inactive or incomplete:

 * SL4A (Scripting Layer for Android), originally named ASE (Android Scripting Environment), is a set of "facades" which expose a greatly-simplified subset of the Android API. The project was originally developed within Google, but is no longer supported by them. However, a fork of the library is distributed with QPython.

 * PySide (the Python binding for the Qt toolkit) has some [[https://qt-project.org/wiki/PySide_for_Android_guide|preliminary support]] for Android.

 * Although Android's primary programming language is Java, there is no known port of [[Jython]] to the platform.

There are several ways to use Python on Android. The following table summarizes those projects which are currently active:

Project

General

APIs

Build

Python versions

Google Play links

User interface

Android APIs

Call Python from Java

Native Python packages

Standalone APK

iOS

Desktop OSs

BeeWare is a toolkit for developing cross-platform apps with native user interfaces. Its Android support is based on Chaquopy.

3.8 - 3.12

None

Native Android

All

Yes

List

Yes

Yes

Yes

Chaquopy is a plugin for Android Studio's Gradle-based build system.

Demo

Yes

No

No

Kivy is a cross-platform OpenGL-based user interface toolkit.

2.7, 3.5, 3.6

Demo

Kivy

All via PyJNIus or Plyer

Via interface

List

Yes

Yes

Yes

pyqtdeploy is a tool for deploying PyQt applications.

3.6

None

Qt

Some via Qt

No

Some

Yes

Yes

Yes

QPython is an on-device script engine and development environment.

2.7, 3.2, 3.6

QPython

Kivy, SL4A

All via PyJNIus or SL4A

No

List

No

No

No

Termux is a Linux distribution for Android that ships Python as well as a local build environment

2.7, 3.6

Termux
Termux:API

Terminal

Some via Termux:API

No

Any where dependencies are packaged

No

No

No

In addition, there are a number of projects which are inactive or incomplete:

  • SL4A (Scripting Layer for Android), originally named ASE (Android Scripting Environment), is a set of "facades" which expose a greatly-simplified subset of the Android API. The project was originally developed within Google, but is no longer supported by them. However, a fork of the library is distributed with QPython.
  • PySide (the Python binding for the Qt toolkit) has some preliminary support for Android.

  • Although Android's primary programming language is Java, there is no known port of Jython to the platform.

Android (last edited 2024-02-07 13:18:35 by MalcolmSmith)

Unable to edit the page? See the FrontPage for instructions.