Skip to content

Fak3/python-for-android

This branch is 8 commits behind kivy/python-for-android:develop.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ea9fb61 · Dec 15, 2024
Oct 22, 2024
Aug 20, 2024
Dec 10, 2024
Dec 15, 2024
May 9, 2024
Nov 26, 2024
Sep 12, 2021
Apr 16, 2020
Oct 24, 2018
Sep 5, 2021
Apr 1, 2020
Oct 4, 2015
Nov 10, 2023
Oct 20, 2024
Dec 16, 2023
Dec 16, 2023
Oct 20, 2024
May 9, 2024
Dec 16, 2023
Dec 16, 2023
Jul 15, 2021
Oct 21, 2024
Oct 20, 2024
Oct 4, 2015
Aug 16, 2024
Mar 7, 2024

Repository files navigation

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 most 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 Docker

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 don’t 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.

About

Turn your Python application into an Android APK

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 59.3%
  • Java 34.2%
  • C 5.8%
  • HTML 0.3%
  • Makefile 0.3%
  • Shell 0.1%