Examples

For examples of how to use Chaquopy, the following apps are the best starting points:

  • chaquopy-matplotlib, a simple example of embedding a Python library in an Android app.

  • chaquopy-console, a template for running text-based scripts.

  • Electron Cash (Google Play), a full-size production app which uses Chaquopy to integrate a complex Python library with a modern Android user interface.

Other examples:

  • The demo app (Google Play), containing the SDK’s complete unit test suite.

  • chaquopy-hello, a Python version of the Android Studio “Empty Activity” app template.