Skip to content

Pack your python flet-pyodide UI app into Android app.

License

Notifications You must be signed in to change notification settings

SKbarbon/fpyo2apk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fpyo2apk

This project is no longer maintaned. Please use the official way to distrebute flet apps

A python package tool for create Android apps project for a flet-pyodide dist folder. Its very easy to use.

For iOS/iPadOS ? fpyo2ipa

requirements

  • python: up than python3.8
  • Android Studio: This is very important to make briefcase work.
  • briefcase==0.3.14 (it will be auto installed if you install this package)
  • Note: This package is tested on macOS only, but it should work on windows as will. if there is any issues report it here: issue

Little peek

Screenshot 2023-05-08 at 8 20 22 PM

usage

This is a video tutorial: Tutorial

1- Publish your flet script into flet-pyodide dist. Use this command for that:

flet publish main.py

2- Create a python virtual environment (highly recommended):

python3 -m venv venv

3- Install fpyo2apk package:

pip install fpyo2apk --upgrade

4- Start building your Android App project.

  • Make sure that your dist folder is in the current cmd's folder, and make sure that you are done with Android Studio setup.
python3 -m fpyo2apk.build

About

Pack your python flet-pyodide UI app into Android app.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages