1
0
Fork 0
Turn your Python application into an Android APK https://github.com/kivy/python-for-android
Go to file
Ansh Dadwal 87a32be7fe
recipe: introduce `PyProjectRecipe` and `MesonRecipe` (to update `pandas`, `numpy` and other recipes) (#3007)
2024-05-09 21:28:37 +02:00
.github Sunset `apple-silicon-m1` self-hosted runner, as now is supported by Github Hosted runners via `macos-latest` tag. Use `macos-13` for runs on Intel macs (#3011) 2024-05-04 13:38:09 +02:00
ci Sunset `apple-silicon-m1` self-hosted runner, as now is supported by Github Hosted runners via `macos-latest` tag. Use `macos-13` for runs on Intel macs (#3011) 2024-05-04 13:38:09 +02:00
doc recipe: introduce `PyProjectRecipe` and `MesonRecipe` (to update `pandas`, `numpy` and other recipes) (#3007) 2024-05-09 21:28:37 +02:00
pythonforandroid recipe: introduce `PyProjectRecipe` and `MesonRecipe` (to update `pandas`, `numpy` and other recipes) (#3007) 2024-05-09 21:28:37 +02:00
testapps recipe: introduce `PyProjectRecipe` and `MesonRecipe` (to update `pandas`, `numpy` and other recipes) (#3007) 2024-05-09 21:28:37 +02:00
tests Fix mock assertion in ICU recipe 2024-04-09 15:36:24 +10:00
.coveragerc Move coveralls to github actions (#2490) 2021-09-12 17:25:35 +02:00
.deepsource.toml Fix some code quality and bug-risk issues 2020-04-17 03:32:06 +05:30
.dockerignore Creates non root user in Dockerfile 2018-10-24 13:02:31 +02:00
.env Drop travis-ci.org and use github-actions for pypi release (#2487) 2021-09-05 11:02:20 +02:00
.gitignore Auto deploys to PyPI using Travis on tags 2020-04-02 00:08:00 +02:00
.projectile Added .projectile 2015-10-04 14:14:33 +01:00
.readthedocs.yaml Add (now mandatory) `.readthedocs.yaml` file, add docs `requirements.txt` and update sphinx conf (#2916) 2023-11-10 20:52:22 +01:00
CHANGELOG.md Update CHANGELOG.md and bump version to 2024.01.21 2024-01-21 16:06:09 +01:00
CODE_OF_CONDUCT.md Update Contributing Guidelines and Readme (#2922) 2023-12-16 16:18:10 +01:00
CONTACT.md Update Contributing Guidelines and Readme (#2922) 2023-12-16 16:18:10 +01:00
CONTRIBUTING.md Update Contributing Guidelines and Readme (#2922) 2023-12-16 16:18:10 +01:00
Dockerfile recipe: introduce `PyProjectRecipe` and `MesonRecipe` (to update `pandas`, `numpy` and other recipes) (#3007) 2024-05-09 21:28:37 +02:00
FAQ.md Update Contributing Guidelines and Readme (#2922) 2023-12-16 16:18:10 +01:00
LICENSE Update Contributing Guidelines and Readme (#2922) 2023-12-16 16:18:10 +01:00
MANIFEST.in Add *.diff to manifest and package_data 2021-07-15 07:43:03 +02:00
Makefile recipe: introduce `PyProjectRecipe` and `MesonRecipe` (to update `pandas`, `numpy` and other recipes) (#3007) 2024-05-09 21:28:37 +02:00
README.md Update Contributing Guidelines and Readme (#2922) 2023-12-16 16:18:10 +01:00
distribute.sh Made distribute.sh even more explicit 2015-10-04 16:35:38 +01:00
setup.py recipe: introduce `PyProjectRecipe` and `MesonRecipe` (to update `pandas`, `numpy` and other recipes) (#3007) 2024-05-09 21:28:37 +02:00
tox.ini Fix broken sdl2 mixer test 2024-03-07 12:53:32 +01:00

README.md

python-for-android

python-for-android (p4a) is a development tool that packages Python apps into binaries that can run on Android devices.

It can generate:

It supports multiple CPU architectures.

It supports apps developed with Kivy framework, but was built to be flexible about the backend libraries (through "bootstraps"), and also supports PySDL2, and a WebView with a Python web server.

It automatically supports dependencies on most pure Python packages. For other packages, including those that depend on C code, a special "recipe" must be written to support cross-compiling. python-for-android comes with recipes for many of the mosty popular libraries (e.g. numpy and sqlalchemy) built in.

python-for-android works by cross-compiling the Python interpreter and its dependencies for Android devices, and bundling it with the app's python code and dependencies. The Python code is then interpreted on the Android device.

It is recommended that python-for-android be used via Buildozer, which ensures the correct dependencies are pre-installed, and centralizes the configuration. However, python-for-android is not limited to being used with Buildozer.

Backers on Open Collective Sponsors on Open Collective GitHub contributors Contributor Covenant

PyPI - Version PyPI - Python Version

Unit tests & build apps Coverage Status

Documentation

More information is available in the online documentation including a quickstart guide.

python-for-android is managed by the Kivy team.

Support

Are you having trouble using python-for-android or any of its related projects in the Kivy ecosystem? Is there an error you dont understand? Are you trying to figure out how to use it? We have volunteers who can help!

The best channels to contact us for support are listed in the latest Contact Us document.

Code of Conduct

In the interest of fostering an open and welcoming community, we as contributors and maintainers need to ensure participation in our project and our sister projects is a harassment-free and positive experience for everyone. It is vital that all interaction is conducted in a manner conveying respect, open-mindedness and gratitude.

Please consult the latest Code of Conduct.

Contributors

This project exists thanks to all the people who contribute. [Become a contributor].

Backers

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

Sponsors

Special thanks to all of our sponsors, past and present. Support this project by [becoming a sponsor].

Here are our top current sponsors. Please click through to see their websites, and support them as they support us.