Build automation for Python applications targeting mobile devices. This is a client to Hanga.
Hanga is a building service on the cloud, specialized to build Python applications, as long as your application is manager with Buildozer. Hanga currently works only for Android, iOS support will come soon, and will also manage the signing with you keystore. Easy to install and setup, get ready in few minutes!
Hanga is currently in closed Beta.
- Install hanga:
pip install hanga
- Open an account
- Grab your API key
- Export the APK key in your environment:
export HANGA_API_KEY=YOUR_API_KEY
You need to have a project managed with Buildozer.
buildozer init
hanga android debug
A typical output will look like:
$ hanga android debug
# Check configuration tokens
# Ensure build layout
# Prepare the source code to pack
# Compress the application
# Submit the application to build
# Submitting Flat Jewels
Upload [############################################################################################] 536.66 kB/s
Build submitted, uuid is 3c49499a-c762-11e3-bbbc-04011676f501
You can check the build status at:
https://hanga.io/app/com.meltingrocks.flatjewels
Or you can wait the build to finish.
It will automatically download the package when done.
Done [####################################################################################] Elapsed Time: 0:02:22
# Downloading the build result
Downloading [#######################################################################################] 4.47 MB/s
# FlatJewels-0.4.1-debug.apk available in the bin directory
# Done !
The build result goes directly in your bin/
directory.