Python-for-android

Latest version: v2024.1.21

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

2020.03.30

python-for-android is a packager for Python apps on Android. You can create your own Python distribution including the modules and dependencies you want, and bundle it in an APK along with your own code.

Features include:

* Support for building with both Python 2 and Python 3.
* Different app backends including Kivy, PySDL2, and a WebView with Python webserver.
* Automatic support for most pure Python modules, and built in support for many others, including popular dependencies such as numpy and sqlalchemy.
* Multiple architecture targets, for APKs optimised on any given device.

2019.10.06

python-for-android is a packager for Python apps on Android. You can create your own Python distribution including the modules and dependencies you want, and bundle it in an APK along with your own code.

Features include:
- Support for building with both Python 2 and Python 3.
- Different app backends including Kivy, PySDL2, and a WebView with Python webserver.
- Automatic support for most pure Python modules, and built in support for many others, including popular dependencies such as numpy and sqlalchemy.
- Multiple architecture targets, for APKs optimised on any given device.

The major change in this release is that NDK versions older than 19 are **not supported**. This is a breaking change as previously only NDK versions up to 17 were supported. If this affects you, you should receive a clear message when running python-for-android.

2019.08.09

python-for-android is a packager for Python apps on Android. You can create your own Python distribution including the modules and dependencies you want, and bundle it in an APK along with your own code.

Features include:
- Support for building with both Python 2 and Python 3.
- Different app backends including Kivy, PySDL2, and a WebView with Python webserver.
- Automatic support for most pure Python modules, and built in support for many others, including popular dependencies such as numpy and sqlalchemy.
- Multiple architecture targets, for APKs optimised on any given device.

The major change in this release is that python-for-android has **dropped support for running under Python 2**. That means that python-for-android cannot *run* under Python 2, but you can still *target* Python 2 on Android using the `python2` recipe. The `python2` recipe will continue to be supported until 2020, at which point support will be dropped.

Changelog

Core functionality

[1913]: Removed support for building with CrystaX NDK
[1883]: Added NDK version checking
[1888]: Improved service support
[1598]: Added tools for handling storage paths on Android
[1937]: Fixed/improved how cython is invoked
[1818]: Added tools for handling permissions callback
[1918]: Dropped support for running under Python 2

Recipes

[1930]: Fixed pyzmq recipe

2019.07.08

python-for-android is a packager for Python apps on Android. You can create your own Python distribution including the modules and dependencies you want, and bundle it in an APK along with your own code.

Features include:
- Support for building with both Python 2 and Python 3.
- Different app backends including Kivy, PySDL2, and a WebView with Python webserver.
- Automatic support for most pure Python modules, and built in support for many others, including popular dependencies such as numpy and sqlalchemy.
- Multiple architecture targets, for APKs optimised on any given device.

This release contains 38 commits from 9 different contributors.

Changelog

Core functionality

[1898]: Fixed run_pymodules_install when project_dir missing
[1877]: Fixed ctypes find_library under python2
[1871]: Fixed hostpython build path env var
[1862]: Fixed various setup.py bugs
[1852]: Fixed pythonpackage wheel handling
[1845]: Fixed unpacking for non-zip archives

Recipes

2019.06.06

python-for-android is a packager for Python apps on Android. You can create your own Python distribution including the modules and dependencies you want, and bundle it in an APK along with your own code.

Features include:
- Support for building with both Python 2 and Python 3.
- Different app backends including Kivy, PySDL2, and a WebView with Python webserver.
- Automatic support for most pure Python modules, and built in support for many others, including popular dependencies such as numpy and sqlalchemy.
- Multiple architecture targets, for APKs optimised on any given device.

This release contains 198 commits from 31 different contributors.

This is the first release to use a calendar-based versioning scheme. Future releases will continue to be of the form YYYY.MM.DD.

Major changes

Major changes in this release include:
- Added support for running your setup.py when packaging your app, enabling your code to be installed as a module and allowing your app to easily build and include cython components.
- Added support for matplotlib.
- Updated many recipes, and especially the SDL2 backend components, for improved performance on Android.
- Ongoing improvements to our test coverage and infrastructure.
- Updated the release model to target regular, smaller releases.

Changelog

Core functionality

[1669]: Fixed various dependency graph resolution bugs
[1683, 1689, 1696]: Introduced --blacklist-requirements option and added sqlite, openssl, libffi to the default build
[1690, 1714]: Cleaned up setenv functionality provided by SDL2
[1693]: Fixed android.add_jars buildozer.spec option
[1729, 1733, 1734]: Fixed autogenerated version codes for APKs with different target architectures
[1684]: Added suport for custom shared libraries
[1741]: Added runtime permission request functions
[1772]: Appiled a generic fix for ctypes.util.find_library on Android
[1625, 1809]: Added functionality to run a project's setup.py if present
[1819]: Fixed service_only bootstrap
[1670]: Removed the pygame bootstrap (this was old and deprecated, it should not affect any current builds)


Recipes

[1675]: Updated netifaces recipe
[1661]: Updated opencv recipe
[1677]: Updated zope_interface recipe and added Python 3 compatibility
[1685]: Fixed pycryptodome recipe by version downgrade
[1680, 1686]: Removed kivent recipes (broken, not maintained)
[1713]: Updated enum34, pyasn1, pyopenssl versions
[1715]: Fixed android recipe for non-SDL2 bootstraps
[1729]: Fixed flask recipe requirements
[1718]: Fixed sdl2_image recipe for arch x86
[1723]: Fixed psycopg2 recipe
[1751]: Fixed libxml2 recipe
[1757]: Fixed protobuf recipe
[1761]: Updated cryptography recipe version
[1765]: Fixed libglob recipe
[1762]: Removed doubleratched recipe as unnecessary
[1663, 1766, 1777, 1832]: Updated Kivy recipe commit/version target
[1775]: Fixed outdated pysdl2 recipe version
[1756]: Fixed xeddsa shared library copying

40.9.0

[1815]: Enabled ipv6 for python3

Page 3 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.