Skip to content

[New Rule] (Library label) #1289

@LuRen-Dmzm

Description

@LuRen-Dmzm

Library filename / 库文件名

libpython.so

Library label / 库的文字标签

python-for-android

Library team / 库的开发团队

kivy

Files & Comment / 同组文件 & 备注

libpython3.so

In Apps / 出现于

No response

Library icon / 库图标

No response

Library description / 库描述

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

It can generate:

Android Package (APK) files, ready to install locally on a device, especially for testing. This format is used by many app stores but not Google Play Store.
Android App Bundle (AAB) files which can be shared on Google Play Store.
Android Archive (AAR) files which can be used as a reusable bundle of resources for other projects.
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.

Library relative URL / 相关链接

https://github.com/kivy/python-for-android

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions