Python Runner For Android
QPython - Python on Android. In most cases, script can get your jobs done as good as the native application. Now you can make it with QPython's help. QPython is a script engine which runs Python programs on android devices. It also can help. Run python./android.py installsdk. This will download and extract the android SDK and Ant, to create an.APK of your game later. Run python./android.py configure yourproject, where you replace yourproject with the name of your own project folder. A json file will be added to your game folder. If you've an Android device and you want to run python programs on your device this article is for you. Android is based on Linux Kernel so it's 100% possible to run python. There are plenty of ways to run python Programs in Android, we'll discuss few of them here. Pydroid 3 is the most easy to use and powerful educational Python 3 IDE for Android. Features: - Offline Python 3.6 interpreter: no Internet is required to run Python programs. Full-featured Terminal Emulator, with a readline support (available in pip).
While Android and iOS will not run interpreted code, you can use a Python mobile app framework like Kivy or BeeWare to write your mobile application in Python and then cross-compile it for Android or iOS. Learn more about Python’s built-in elements.
Released:
Android APK packager for Python scripts and apps
Project description
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
Python Runner For Android Download
This project exists thanks to all the people who contribute. [Contribute].
Backers
Thank you to all our backers! 🙏 [Become a backer]
Sponsors
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
Python Runner For Android Studio
2019.7.8
2019.6.6.post0
2019.6.6
0.7.0
0.6.0
0.5.3
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size python_for_android-2021.9.5-py3-none-any.whl (516.5 kB) | File type Wheel | Python version py3 | Upload date | Hashes |
Filename, size python-for-android-2021.9.5.tar.gz (985.0 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for python_for_android-2021.9.5-py3-none-any.whl
Algorithm | Hash digest |
---|---|
SHA256 | 383254500966739d42766318ed508e90d05c7907096bead48a1076c67797a2d3 |
MD5 | 0d575f463033f5f5285500191b31805f |
BLAKE2-256 | 08675395480ec4346434cc5a1c11ab1f19c7a6b742f42a6f2e45b4842ecfaac9 |
Hashes for python-for-android-2021.9.5.tar.gz
Python Code Runner Download
Algorithm | Hash digest |
---|---|
SHA256 | 46305120df040d964514a02b7a5cbc93048d1a69ef9ad67d14cd6cdac536337c |
MD5 | 1c2ad32a574109dd20a857774f77bae3 |
BLAKE2-256 | 8712d6825fbd0ee7e3da541cda4d71c3b8e6621b3926ac72e11c4c23e0c169c1 |