kivy/python-for-android
Turn your Python application into an Android APK observed · 2026-08-28
Health v2 · maintenance only
82/100
- Activity 99
- Release rhythm 51
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5392
- days_rel: 115
- days_push: 7
- n_releases_24m: 1
Adoption not part of the score
8910 stars · 2038 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
python-for-android (p4a) is a command-line development tool that cross-compiles the Python interpreter and packages Python applications into Android binaries (APK, AAB, AAR). It supports Kivy, PySDL2/PySDL3, and WebView bootstraps, with recipes for cross-compiling C-extension dependencies like numpy.
Use cases
- package a python app as an android apk
- build an aab for google play from python code
- cross-compile python and numpy for android
- turn my kivy app into an android app
- run a python web server inside a webview on android
- create a reusable android library (aar) from python code
When to choose
- you want to ship a Python (especially Kivy) app to Android without rewriting it in Java/Kotlin
- you need APK/AAB/AAR output with multi-architecture support
- your dependencies are pure Python or covered by existing recipes
When to avoid
- you need native Android UI performance or deep platform API integration
- your app depends on C extensions lacking a recipe and you cannot write one
- you are targeting iOS or desktop platforms
Facets
cli-tool · maturity active
build-tool compiler developer-tools mobile-development cross-platform developer-tools python cli apk-packaging aab aar cross-compilation kivy pysdl2 webview-bootstrap recipes android linux macos
3 sources
- readme: https://github.com/kivy/python-for-android · fetched 2026-08-28 · bbe1546993f4
- homepage: https://python-for-android.readthedocs.io · fetched 2026-08-29 · d18073b80deb
- registry_pypi: https://pypi.org/pypi/python-for-android/json · fetched 2026-08-29 · 855bc469076d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kivy/python-for-android | main | 82 |
For agents
markdown · JSON · MCP: product_card(name="kivy/python-for-android")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem