Python Runner For Android

  • Write and run Python code using our online compiler (interpreter). You can use Python Shell like IDLE, and take inputs from the user in our Python compiler.
  • This is the fastest way to learn Python properly, and we even have a handy guide to the best online Python courses. Try Coding with Python: Training for Aspiring Developers for just $49.99.
Latest version

Released:

Python Runner For Android

This is the QPython 3L, it is mainly for experienced Python users, and it provides some advanced technical features. # Amazing Features. Offline Python 3 interpreter: no Internet is required to run Python programs. It supports running multiple types of projects, including: console program, SL4A program, webapp program. Android Runner (AR) is a tool for automatically executing measurement-based experiments on native and web apps running on Android devices. The following scientific publication gives an overview about the main components, plugins, and configurations of Android Runner (as of 2020): A-Mobile 2020 publication.

Android APK packager for Python scripts and apps

Project description

Android

python-for-android is a packaging tool for Python apps on Android. You cancreate your own Python distribution including the modules anddependencies you want, and bundle it in an APK along with your own code.

Features include:

  • Different app backends including Kivy, PySDL2, and a WebView withPython webserver.
  • Automatic support for most pure Python modules, and built in supportfor many others, including popular dependencies such as numpy andsqlalchemy.
  • Multiple architecture targets, for APKs optimised on any givendevice.

For documentation and support, see:

  • Website: http://python-for-android.readthedocs.io
  • Mailing list: https://groups.google.com/forum/#!forum/kivy-users orhttps://groups.google.com/forum/#!forum/python-android.

Documentation

Follow the quickstartinstructionsto install and begin creating APKs.

Quick instructions: install python-for-android with:

(for the develop branch: pip install git+https://github.com/kivy/python-for-android.git)

Test that the install works with:

To build any actual apps, set up the Android SDK and NDKas described in the quickstart.Use the SDK/NDK API level & NDK version as in the quickstart,other API levels may not work.

With everything installed, build an APK with SDL2 with e.g.:

For full instructions and parameter options, see thedocumentation.

Support

If you need assistance, you can ask for help on our mailing list:

  • User Group: https://groups.google.com/group/kivy-users
  • Email: kivy-users@googlegroups.com

We also have #support Discord channel.

Contributing

We love pull requests and discussing novel ideas. Check out the Kivyproject contribution guide andfeel free to improve python-for-android.

See ourdocumentationfor more information about the python-for-android development andrelease model, but don't worry about the details. You just need tomake a pull request, we'll take care of the rest.

The following mailing list and IRC channel are used exclusively fordiscussions about developing the Kivy framework and its sister projects:

  • Dev Group: https://groups.google.com/group/kivy-dev
  • Email: kivy-dev@googlegroups.com

We also have #dev Discord channel.

License

python-for-android is released under the terms of the MIT License.Please refer to the LICENSE file.

History

In 2015 these tools were rewritten to provide a new, easier-to-use andeasier-to-extend interface. If you'd like to browse the old toolchain, itsstatus is recorded for posterity at athttps://github.com/kivy/python-for-android/tree/old_toolchain.

In the last quarter of 2018 the python recipes were changed. Thenew recipe for python3 (3.7.1) had a new build system which wasapplied to the ancient python recipe, allowing us to bump the python2version number to 2.7.15. This change unified the build process forboth python recipes, and probably solved various issues detected over theyears. These unified python recipes require a minimum target api level of 21,Android 5.0 - Lollipop. If you need to build targeting anapi level below 21, you should use an older version of python-for-android(<=0.7.1).

On March of 2020 we dropped support for creating apps that use Python 2. The latestpython-for-android release that supported building Python 2 was version 2019.10.6.

Contributors

This project exists thanks to all the people who contribute. [Contribute].

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Python code runner download

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

Release historyRelease notifications | RSS feed

2021.9.5

2020.6.2

2020.4.29

2020.3.30

2019.10.6

2019.8.9

2019.7.8

2019.6.6.post0

2019.6.6

0.7.0

0.6.0

0.5.3

Python Runner For Android Version

0.5.2

0.5.1

0.5

0.4

0.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-for-android, version 2021.9.5
Filename, sizeFile typePython versionUpload dateHashes
Filename, size python_for_android-2021.9.5-py3-none-any.whl (516.5 kB) File type Wheel Python version py3 Upload dateHashes
Filename, size python-for-android-2021.9.5.tar.gz (985.0 kB) File type Source Python version None Upload dateHashes

Python Compilers Idle

Close

Hashes for python_for_android-2021.9.5-py3-none-any.whl

Hashes for python_for_android-2021.9.5-py3-none-any.whl
AlgorithmHash digest
SHA256383254500966739d42766318ed508e90d05c7907096bead48a1076c67797a2d3
MD50d575f463033f5f5285500191b31805f
BLAKE2-25608675395480ec4346434cc5a1c11ab1f19c7a6b742f42a6f2e45b4842ecfaac9
Close

Hashes for python-for-android-2021.9.5.tar.gz

Hashes for python-for-android-2021.9.5.tar.gz
AlgorithmHash digest
SHA25646305120df040d964514a02b7a5cbc93048d1a69ef9ad67d14cd6cdac536337c
MD51c2ad32a574109dd20a857774f77bae3
BLAKE2-2568712d6825fbd0ee7e3da541cda4d71c3b8e6621b3926ac72e11c4c23e0c169c1