Skip to content

chaquo/chaquopy

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
March 14, 2019 14:07
February 2, 2023 06:48
February 2, 2023 06:48
July 20, 2022 17:18
September 5, 2023 09:18
January 28, 2023 18:55

Chaquopy: the Python SDK for Android

Chaquopy provides everything you need to include Python components in an Android app, including:

  • Full integration with Android Studio's standard Gradle build system.
  • Simple APIs for calling Python code from Java/Kotlin, and vice versa.
  • A wide range of third-party Python packages, including SciPy, OpenCV, TensorFlow and many more.

To get started, see the documentation.

Repository layout

This repository contains the following components:

  • product/gradle-plugin contains the Chaquopy Gradle plugin.
  • product/runtime contains the Chaquopy runtime libraries.
  • target contains build scripts for Python and its supporting libraries.
  • server/pypi contains build scripts for third-party Python packages.

Build

For build instructions, see the README files in each subdirectory. All build outputs are stored in the maven directory.

To use this repository to build an app, edit the repositories block in your settings.gradle or build.gradle file to declare your repository before mavenCentral. Either an HTTP URL or a local path can be used.